diff options
Diffstat (limited to 'init')
-rw-r--r-- | init/Kconfig | 3 | ||||
-rw-r--r-- | init/main.c | 14 |
2 files changed, 7 insertions, 10 deletions
diff --git a/init/Kconfig b/init/Kconfig index 113c74c07da4..44e9208f9c78 100644 --- a/init/Kconfig +++ b/init/Kconfig | |||
@@ -739,7 +739,8 @@ config VM_EVENT_COUNTERS | |||
739 | 739 | ||
740 | config PCI_QUIRKS | 740 | config PCI_QUIRKS |
741 | default y | 741 | default y |
742 | bool "Enable PCI quirk workarounds" if EMBEDDED && PCI | 742 | bool "Enable PCI quirk workarounds" if EMBEDDED |
743 | depends on PCI | ||
743 | help | 744 | help |
744 | This enables workarounds for various PCI chipset | 745 | This enables workarounds for various PCI chipset |
745 | bugs/quirks. Disable this only if your target machine is | 746 | bugs/quirks. Disable this only if your target machine is |
diff --git a/init/main.c b/init/main.c index c6a1024a27a3..130d1a0eef11 100644 --- a/init/main.c +++ b/init/main.c | |||
@@ -52,6 +52,7 @@ | |||
52 | #include <linux/key.h> | 52 | #include <linux/key.h> |
53 | #include <linux/unwind.h> | 53 | #include <linux/unwind.h> |
54 | #include <linux/buffer_head.h> | 54 | #include <linux/buffer_head.h> |
55 | #include <linux/page_cgroup.h> | ||
55 | #include <linux/debug_locks.h> | 56 | #include <linux/debug_locks.h> |
56 | #include <linux/debugobjects.h> | 57 | #include <linux/debugobjects.h> |
57 | #include <linux/lockdep.h> | 58 | #include <linux/lockdep.h> |
@@ -647,6 +648,7 @@ asmlinkage void __init start_kernel(void) | |||
647 | vmalloc_init(); | 648 | vmalloc_init(); |
648 | vfs_caches_init_early(); | 649 | vfs_caches_init_early(); |
649 | cpuset_init_early(); | 650 | cpuset_init_early(); |
651 | page_cgroup_init(); | ||
650 | mem_init(); | 652 | mem_init(); |
651 | enable_debug_pagealloc(); | 653 | enable_debug_pagealloc(); |
652 | cpu_hotplug_init(); | 654 | cpu_hotplug_init(); |
@@ -696,13 +698,7 @@ asmlinkage void __init start_kernel(void) | |||
696 | } | 698 | } |
697 | 699 | ||
698 | static int initcall_debug; | 700 | static int initcall_debug; |
699 | 701 | core_param(initcall_debug, initcall_debug, bool, 0644); | |
700 | static int __init initcall_debug_setup(char *str) | ||
701 | { | ||
702 | initcall_debug = 1; | ||
703 | return 1; | ||
704 | } | ||
705 | __setup("initcall_debug", initcall_debug_setup); | ||
706 | 702 | ||
707 | int do_one_initcall(initcall_t fn) | 703 | int do_one_initcall(initcall_t fn) |
708 | { | 704 | { |
@@ -772,8 +768,6 @@ static void __init do_initcalls(void) | |||
772 | static void __init do_basic_setup(void) | 768 | static void __init do_basic_setup(void) |
773 | { | 769 | { |
774 | rcu_init_sched(); /* needed by module_init stage. */ | 770 | rcu_init_sched(); /* needed by module_init stage. */ |
775 | /* drivers will send hotplug events */ | ||
776 | init_workqueues(); | ||
777 | usermodehelper_init(); | 771 | usermodehelper_init(); |
778 | driver_init(); | 772 | driver_init(); |
779 | init_irq_proc(); | 773 | init_irq_proc(); |
@@ -857,6 +851,8 @@ static int __init kernel_init(void * unused) | |||
857 | 851 | ||
858 | cad_pid = task_pid(current); | 852 | cad_pid = task_pid(current); |
859 | 853 | ||
854 | init_workqueues(); | ||
855 | |||
860 | smp_prepare_cpus(setup_max_cpus); | 856 | smp_prepare_cpus(setup_max_cpus); |
861 | 857 | ||
862 | do_pre_smp_initcalls(); | 858 | do_pre_smp_initcalls(); |