diff options
Diffstat (limited to 'init')
-rw-r--r-- | init/Kconfig | 22 | ||||
-rw-r--r-- | init/main.c | 11 |
2 files changed, 24 insertions, 9 deletions
diff --git a/init/Kconfig b/init/Kconfig index e50c63fb8839..38899243213d 100644 --- a/init/Kconfig +++ b/init/Kconfig | |||
@@ -334,6 +334,15 @@ config TREE_PREEMPT_RCU | |||
334 | is also required. It also scales down nicely to | 334 | is also required. It also scales down nicely to |
335 | smaller systems. | 335 | smaller systems. |
336 | 336 | ||
337 | config TINY_RCU | ||
338 | bool "UP-only small-memory-footprint RCU" | ||
339 | depends on !SMP | ||
340 | help | ||
341 | This option selects the RCU implementation that is | ||
342 | designed for UP systems from which real-time response | ||
343 | is not required. This option greatly reduces the | ||
344 | memory footprint of RCU. | ||
345 | |||
337 | endchoice | 346 | endchoice |
338 | 347 | ||
339 | config RCU_TRACE | 348 | config RCU_TRACE |
@@ -606,7 +615,7 @@ config SYSFS_DEPRECATED | |||
606 | bool | 615 | bool |
607 | 616 | ||
608 | config SYSFS_DEPRECATED_V2 | 617 | config SYSFS_DEPRECATED_V2 |
609 | bool "remove sysfs features which may confuse old userspace tools" | 618 | bool "enable deprecated sysfs features which may confuse old userspace tools" |
610 | depends on SYSFS | 619 | depends on SYSFS |
611 | default n | 620 | default n |
612 | select SYSFS_DEPRECATED | 621 | select SYSFS_DEPRECATED |
@@ -1099,6 +1108,16 @@ config SLOW_WORK | |||
1099 | 1108 | ||
1100 | See Documentation/slow-work.txt. | 1109 | See Documentation/slow-work.txt. |
1101 | 1110 | ||
1111 | config SLOW_WORK_DEBUG | ||
1112 | bool "Slow work debugging through debugfs" | ||
1113 | default n | ||
1114 | depends on SLOW_WORK && DEBUG_FS | ||
1115 | help | ||
1116 | Display the contents of the slow work run queue through debugfs, | ||
1117 | including items currently executing. | ||
1118 | |||
1119 | See Documentation/slow-work.txt. | ||
1120 | |||
1102 | endmenu # General setup | 1121 | endmenu # General setup |
1103 | 1122 | ||
1104 | config HAVE_GENERIC_DMA_COHERENT | 1123 | config HAVE_GENERIC_DMA_COHERENT |
@@ -1211,3 +1230,4 @@ source "block/Kconfig" | |||
1211 | config PREEMPT_NOTIFIERS | 1230 | config PREEMPT_NOTIFIERS |
1212 | bool | 1231 | bool |
1213 | 1232 | ||
1233 | source "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 | */ |
256 | static int __init unknown_bootoption(char *param, char *val) | 256 | static 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; |