aboutsummaryrefslogtreecommitdiffstats
path: root/init
diff options
context:
space:
mode:
Diffstat (limited to 'init')
-rw-r--r--init/Kconfig19
-rw-r--r--init/main.c11
2 files changed, 18 insertions, 12 deletions
diff --git a/init/Kconfig b/init/Kconfig
index d367bf6bcc34..9ee778294756 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
@@ -615,7 +615,7 @@ config SYSFS_DEPRECATED
615 bool 615 bool
616 616
617config SYSFS_DEPRECATED_V2 617config SYSFS_DEPRECATED_V2
618 bool "remove sysfs features which may confuse old userspace tools" 618 bool "enable deprecated sysfs features which may confuse old userspace tools"
619 depends on SYSFS 619 depends on SYSFS
620 default n 620 default n
621 select SYSFS_DEPRECATED 621 select SYSFS_DEPRECATED
@@ -946,7 +946,7 @@ config PERF_EVENTS
946 Enable kernel support for various performance events provided 946 Enable kernel support for various performance events provided
947 by software and hardware. 947 by software and hardware.
948 948
949 Software events are supported either build-in or via the 949 Software events are supported either built-in or via the
950 use of generic tracepoints. 950 use of generic tracepoints.
951 951
952 Most modern CPUs support performance events via performance 952 Most modern CPUs support performance events via performance
@@ -958,7 +958,7 @@ config PERF_EVENTS
958 used to profile the code that runs on that CPU. 958 used to profile the code that runs on that CPU.
959 959
960 The Linux Performance Event subsystem provides an abstraction of 960 The Linux Performance Event subsystem provides an abstraction of
961 these software and hardware cevent apabilities, available via a 961 these software and hardware event capabilities, available via a
962 system call and used by the "perf" utility in tools/perf/. It 962 system call and used by the "perf" utility in tools/perf/. It
963 provides per task and per CPU counters, and it provides event 963 provides per task and per CPU counters, and it provides event
964 capabilities on top of those. 964 capabilities on top of those.
@@ -1107,6 +1107,16 @@ config SLOW_WORK
1107 1107
1108 See Documentation/slow-work.txt. 1108 See Documentation/slow-work.txt.
1109 1109
1110config SLOW_WORK_DEBUG
1111 bool "Slow work debugging through debugfs"
1112 default n
1113 depends on SLOW_WORK && DEBUG_FS
1114 help
1115 Display the contents of the slow work run queue through debugfs,
1116 including items currently executing.
1117
1118 See Documentation/slow-work.txt.
1119
1110endmenu # General setup 1120endmenu # General setup
1111 1121
1112config HAVE_GENERIC_DMA_COHERENT 1122config HAVE_GENERIC_DMA_COHERENT
@@ -1219,3 +1229,4 @@ source "block/Kconfig"
1219config PREEMPT_NOTIFIERS 1229config PREEMPT_NOTIFIERS
1220 bool 1230 bool
1221 1231
1232source "kernel/Kconfig.locks"
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;