aboutsummaryrefslogtreecommitdiffstats
path: root/init
diff options
context:
space:
mode:
Diffstat (limited to 'init')
-rw-r--r--init/Kconfig18
-rw-r--r--init/main.c11
2 files changed, 17 insertions, 12 deletions
diff --git a/init/Kconfig b/init/Kconfig
index 09c5c6431f42..eb4b33725db1 100644
--- a/init/Kconfig
+++ b/init/Kconfig
@@ -297,7 +297,7 @@ config AUDIT
297 297
298config AUDITSYSCALL 298config 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
@@ -606,7 +606,7 @@ config SYSFS_DEPRECATED
606 bool 606 bool
607 607
608config SYSFS_DEPRECATED_V2 608config SYSFS_DEPRECATED_V2
609 bool "remove sysfs features which may confuse old userspace tools" 609 bool "enable deprecated sysfs features which may confuse old userspace tools"
610 depends on SYSFS 610 depends on SYSFS
611 default n 611 default n
612 select SYSFS_DEPRECATED 612 select SYSFS_DEPRECATED
@@ -937,7 +937,7 @@ config PERF_EVENTS
937 Enable kernel support for various performance events provided 937 Enable kernel support for various performance events provided
938 by software and hardware. 938 by software and hardware.
939 939
940 Software events are supported either build-in or via the 940 Software events are supported either built-in or via the
941 use of generic tracepoints. 941 use of generic tracepoints.
942 942
943 Most modern CPUs support performance events via performance 943 Most modern CPUs support performance events via performance
@@ -949,7 +949,7 @@ config PERF_EVENTS
949 used to profile the code that runs on that CPU. 949 used to profile the code that runs on that CPU.
950 950
951 The Linux Performance Event subsystem provides an abstraction of 951 The Linux Performance Event subsystem provides an abstraction of
952 these software and hardware cevent apabilities, available via a 952 these software and hardware event capabilities, available via a
953 system call and used by the "perf" utility in tools/perf/. It 953 system call and used by the "perf" utility in tools/perf/. It
954 provides per task and per CPU counters, and it provides event 954 provides per task and per CPU counters, and it provides event
955 capabilities on top of those. 955 capabilities on top of those.
@@ -1098,6 +1098,16 @@ config SLOW_WORK
1098 1098
1099 See Documentation/slow-work.txt. 1099 See Documentation/slow-work.txt.
1100 1100
1101config SLOW_WORK_DEBUG
1102 bool "Slow work debugging through debugfs"
1103 default n
1104 depends on SLOW_WORK && DEBUG_FS
1105 help
1106 Display the contents of the slow work run queue through debugfs,
1107 including items currently executing.
1108
1109 See Documentation/slow-work.txt.
1110
1101endmenu # General setup 1111endmenu # General setup
1102 1112
1103config HAVE_GENERIC_DMA_COHERENT 1113config HAVE_GENERIC_DMA_COHERENT
diff --git a/init/main.c b/init/main.c
index 5988debfc505..4051d75dd2d6 100644
--- a/init/main.c
+++ b/init/main.c
@@ -251,7 +251,7 @@ early_param("loglevel", loglevel);
251 251
252/* 252/*
253 * Unknown boot options get handed to init, unless they look like 253 * Unknown boot options get handed to init, unless they look like
254 * failed parameters 254 * unused parameters (modprobe will find them in /proc/cmdline).
255 */ 255 */
256static int __init unknown_bootoption(char *param, char *val) 256static int __init unknown_bootoption(char *param, char *val)
257{ 257{
@@ -272,14 +272,9 @@ static int __init unknown_bootoption(char *param, char *val)
272 if (obsolete_checksetup(param)) 272 if (obsolete_checksetup(param))
273 return 0; 273 return 0;
274 274
275 /* 275 /* Unused module parameter. */
276 * Preemptive maintenance for "why didn't my misspelled command 276 if (strchr(param, '.') && (!val || strchr(param, '.') < val))
277 * line work?"
278 */
279 if (strchr(param, '.') && (!val || strchr(param, '.') < val)) {
280 printk(KERN_ERR "Unknown boot option `%s': ignoring\n", param);
281 return 0; 277 return 0;
282 }
283 278
284 if (panic_later) 279 if (panic_later)
285 return 0; 280 return 0;