aboutsummaryrefslogtreecommitdiffstats
path: root/init
diff options
context:
space:
mode:
authorLen Brown <len.brown@intel.com>2005-12-06 17:31:30 -0500
committerLen Brown <len.brown@intel.com>2005-12-06 17:31:30 -0500
commit3d5271f9883cba7b54762bc4fe027d4172f06db7 (patch)
treeab8a881a14478598a0c8bda0d26c62cdccfffd6d /init
parent378b2556f4e09fa6f87ff0cb5c4395ff28257d02 (diff)
parent9115a6c787596e687df03010d97fccc5e0762506 (diff)
Pull release into acpica branch
Diffstat (limited to 'init')
-rw-r--r--init/Kconfig8
-rw-r--r--init/main.c4
2 files changed, 9 insertions, 3 deletions
diff --git a/init/Kconfig b/init/Kconfig
index d5a1a1228fab..ea097e0a9c02 100644
--- a/init/Kconfig
+++ b/init/Kconfig
@@ -60,8 +60,8 @@ config INIT_ENV_ARG_LIMIT
60 default 32 if !USERMODE 60 default 32 if !USERMODE
61 default 128 if USERMODE 61 default 128 if USERMODE
62 help 62 help
63 This is the value of the two limits on the number of argument and of 63 Maximum of each of the number of arguments and environment
64 env.var passed to init from the kernel command line. 64 variables passed to init from the kernel command line.
65 65
66endmenu 66endmenu
67 67
@@ -501,3 +501,7 @@ config STOP_MACHINE
501 help 501 help
502 Need stop_machine() primitive. 502 Need stop_machine() primitive.
503endmenu 503endmenu
504
505menu "Block layer"
506source "block/Kconfig"
507endmenu
diff --git a/init/main.c b/init/main.c
index f142d4035341..27f97f9b4636 100644
--- a/init/main.c
+++ b/init/main.c
@@ -394,14 +394,16 @@ static void noinline rest_init(void)
394 kernel_thread(init, NULL, CLONE_FS | CLONE_SIGHAND); 394 kernel_thread(init, NULL, CLONE_FS | CLONE_SIGHAND);
395 numa_default_policy(); 395 numa_default_policy();
396 unlock_kernel(); 396 unlock_kernel();
397 preempt_enable_no_resched();
398 397
399 /* 398 /*
400 * The boot idle thread must execute schedule() 399 * The boot idle thread must execute schedule()
401 * at least one to get things moving: 400 * at least one to get things moving:
402 */ 401 */
402 preempt_enable_no_resched();
403 schedule(); 403 schedule();
404 preempt_disable();
404 405
406 /* Call into cpu_idle with preempt disabled */
405 cpu_idle(); 407 cpu_idle();
406} 408}
407 409