diff options
Diffstat (limited to 'init/main.c')
-rw-r--r-- | init/main.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/init/main.c b/init/main.c index db7974ff7a0a..082077af7c44 100644 --- a/init/main.c +++ b/init/main.c | |||
@@ -98,7 +98,7 @@ static inline void mark_rodata_ro(void) { } | |||
98 | extern void tc_init(void); | 98 | extern void tc_init(void); |
99 | #endif | 99 | #endif |
100 | 100 | ||
101 | enum system_states system_state; | 101 | enum system_states system_state __read_mostly; |
102 | EXPORT_SYMBOL(system_state); | 102 | EXPORT_SYMBOL(system_state); |
103 | 103 | ||
104 | /* | 104 | /* |
@@ -464,6 +464,7 @@ static noinline void __init_refok rest_init(void) | |||
464 | * at least once to get things moving: | 464 | * at least once to get things moving: |
465 | */ | 465 | */ |
466 | init_idle_bootup_task(current); | 466 | init_idle_bootup_task(current); |
467 | rcu_scheduler_starting(); | ||
467 | preempt_enable_no_resched(); | 468 | preempt_enable_no_resched(); |
468 | schedule(); | 469 | schedule(); |
469 | preempt_disable(); | 470 | preempt_disable(); |