aboutsummaryrefslogtreecommitdiffstats
path: root/init
diff options
context:
space:
mode:
Diffstat (limited to 'init')
-rw-r--r--init/Kconfig2
-rw-r--r--init/main.c2
2 files changed, 1 insertions, 3 deletions
diff --git a/init/Kconfig b/init/Kconfig
index 36890f0c8456..be85a0ab1b82 100644
--- a/init/Kconfig
+++ b/init/Kconfig
@@ -71,7 +71,7 @@ config BROKEN_ON_SMP
71 71
72config LOCK_KERNEL 72config LOCK_KERNEL
73 bool 73 bool
74 depends on SMP || PREEMPT 74 depends on (SMP || PREEMPT) && BKL
75 default y 75 default y
76 76
77config INIT_ENV_ARG_LIMIT 77config INIT_ENV_ARG_LIMIT
diff --git a/init/main.c b/init/main.c
index 9684c9670b48..e59af24a0b7c 100644
--- a/init/main.c
+++ b/init/main.c
@@ -424,7 +424,6 @@ static void __init setup_command_line(char *command_line)
424static __initdata DECLARE_COMPLETION(kthreadd_done); 424static __initdata DECLARE_COMPLETION(kthreadd_done);
425 425
426static noinline void __init_refok rest_init(void) 426static noinline void __init_refok rest_init(void)
427 __releases(kernel_lock)
428{ 427{
429 int pid; 428 int pid;
430 429
@@ -818,7 +817,6 @@ static void run_init_process(const char *init_filename)
818 * makes it inline to init() and it becomes part of init.text section 817 * makes it inline to init() and it becomes part of init.text section
819 */ 818 */
820static noinline int init_post(void) 819static noinline int init_post(void)
821 __releases(kernel_lock)
822{ 820{
823 /* need to finish all async __init code before freeing the memory */ 821 /* need to finish all async __init code before freeing the memory */
824 async_synchronize_full(); 822 async_synchronize_full();