diff options
Diffstat (limited to 'init')
-rw-r--r-- | init/Kconfig | 20 | ||||
-rw-r--r-- | init/main.c | 1 |
2 files changed, 19 insertions, 2 deletions
diff --git a/init/Kconfig b/init/Kconfig index c7bac39d6c61..f51586406d62 100644 --- a/init/Kconfig +++ b/init/Kconfig | |||
@@ -297,7 +297,7 @@ config AUDIT | |||
297 | 297 | ||
298 | config AUDITSYSCALL | 298 | config AUDITSYSCALL |
299 | bool "Enable system-call auditing support" | 299 | bool "Enable system-call auditing support" |
300 | depends on AUDIT && (X86 || PPC || PPC64 || S390 || IA64 || UML || SPARC64|| SUPERH) | 300 | depends on AUDIT && (X86 || PPC || S390 || IA64 || UML || SPARC64 || SUPERH) |
301 | default y if SECURITY_SELINUX | 301 | default y if SECURITY_SELINUX |
302 | help | 302 | help |
303 | Enable low-overhead system-call auditing infrastructure that | 303 | Enable low-overhead system-call auditing infrastructure that |
@@ -921,6 +921,11 @@ config HAVE_PERF_EVENTS | |||
921 | help | 921 | help |
922 | See tools/perf/design.txt for details. | 922 | See tools/perf/design.txt for details. |
923 | 923 | ||
924 | config PERF_USE_VMALLOC | ||
925 | bool | ||
926 | help | ||
927 | See tools/perf/design.txt for details | ||
928 | |||
924 | menu "Kernel Performance Events And Counters" | 929 | menu "Kernel Performance Events And Counters" |
925 | 930 | ||
926 | config PERF_EVENTS | 931 | config PERF_EVENTS |
@@ -976,6 +981,19 @@ config PERF_COUNTERS | |||
976 | 981 | ||
977 | Say N if unsure. | 982 | Say N if unsure. |
978 | 983 | ||
984 | config DEBUG_PERF_USE_VMALLOC | ||
985 | default n | ||
986 | bool "Debug: use vmalloc to back perf mmap() buffers" | ||
987 | depends on PERF_EVENTS && DEBUG_KERNEL | ||
988 | select PERF_USE_VMALLOC | ||
989 | help | ||
990 | Use vmalloc memory to back perf mmap() buffers. | ||
991 | |||
992 | Mostly useful for debugging the vmalloc code on platforms | ||
993 | that don't require it. | ||
994 | |||
995 | Say N if unsure. | ||
996 | |||
979 | endmenu | 997 | endmenu |
980 | 998 | ||
981 | config VM_EVENT_COUNTERS | 999 | config VM_EVENT_COUNTERS |
diff --git a/init/main.c b/init/main.c index 7449819a4805..5988debfc505 100644 --- a/init/main.c +++ b/init/main.c | |||
@@ -778,7 +778,6 @@ static void __init do_initcalls(void) | |||
778 | */ | 778 | */ |
779 | static void __init do_basic_setup(void) | 779 | static void __init do_basic_setup(void) |
780 | { | 780 | { |
781 | rcu_init_sched(); /* needed by module_init stage. */ | ||
782 | init_workqueues(); | 781 | init_workqueues(); |
783 | cpuset_init_smp(); | 782 | cpuset_init_smp(); |
784 | usermodehelper_init(); | 783 | usermodehelper_init(); |