summaryrefslogtreecommitdiff
path: root/init/main.c
diff options
context:
space:
mode:
authorFelix Blyakher <felixb@sgi.com>2009-03-06 17:06:44 -0600
committerFelix Blyakher <felixb@sgi.com>2009-03-06 17:06:44 -0600
commit47d1ff6e1a24c0126cd0243b1d6d0a3ffbd7a026 (patch)
treeb53cd3df68e3a199f6764c619c1a5092d27547e2 /init/main.c
parentb79631330a653f568a2ac4eb4a32474c80e3fe77 (diff)
parent559595a985e106d2fa9f0c79b7f5805453fed593 (diff)
Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6
Diffstat (limited to 'init/main.c')
-rw-r--r--init/main.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/init/main.c b/init/main.c
index 844209453c02..83697e160b3a 100644
--- a/init/main.c
+++ b/init/main.c
@@ -97,7 +97,7 @@ static inline void mark_rodata_ro(void) { }
extern void tc_init(void);
#endif
-enum system_states system_state;
+enum system_states system_state __read_mostly;
EXPORT_SYMBOL(system_state);
/*
@@ -463,6 +463,7 @@ static noinline void __init_refok rest_init(void)
* at least once to get things moving:
*/
init_idle_bootup_task(current);
+ rcu_scheduler_starting();
preempt_enable_no_resched();
schedule();
preempt_disable();