diff options
Diffstat (limited to 'init')
-rw-r--r-- | init/Kconfig | 12 | ||||
-rw-r--r-- | init/main.c | 11 |
2 files changed, 14 insertions, 9 deletions
diff --git a/init/Kconfig b/init/Kconfig index 39923ccc287b..9ee778294756 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 |
@@ -1220,3 +1229,4 @@ source "block/Kconfig" | |||
1220 | config PREEMPT_NOTIFIERS | 1229 | config PREEMPT_NOTIFIERS |
1221 | bool | 1230 | bool |
1222 | 1231 | ||
1232 | 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; |