aboutsummaryrefslogtreecommitdiffstats
path: root/xen/arch/arm/setup.c
diff options
context:
space:
mode:
authorJulien Grall <julien.grall@linaro.org>2013-05-10 03:17:53 +0100
committerIan Campbell <ian.campbell@citrix.com>2013-05-10 14:17:16 +0100
commit6b18d3dded7f3d128d4d1a4a33e6fbc2842d2b7d (patch)
treee53347b62db2787cb7d45b3328bef340ce418d57 /xen/arch/arm/setup.c
parent55eb2e2cb844a798b818fda7aac228885a064784 (diff)
downloadxen-6b18d3dded7f3d128d4d1a4a33e6fbc2842d2b7d.tar.gz
xen-6b18d3dded7f3d128d4d1a4a33e6fbc2842d2b7d.tar.bz2
xen-6b18d3dded7f3d128d4d1a4a33e6fbc2842d2b7d.zip
xen/arm: Switch to SYS_STATE_boot right after console setup
Signed-off-by: Julien Grall <julien.grall@linaro.org> Acked-by: Ian Campbell <ian.campbell@citrix.com>
Diffstat (limited to 'xen/arch/arm/setup.c')
-rw-r--r--xen/arch/arm/setup.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/xen/arch/arm/setup.c b/xen/arch/arm/setup.c
index 59646d65ab..29447effca 100644
--- a/xen/arch/arm/setup.c
+++ b/xen/arch/arm/setup.c
@@ -435,6 +435,8 @@ void __init start_xen(unsigned long boot_phys_offset,
console_init_preirq();
#endif
+ system_state = SYS_STATE_boot;
+
processor_id();
init_xen_time();