[PATCH] UML: fix the INIT_ENV_ARG_LIMIT dependencies
authorAdrian Bunk <[email protected]>
Fri, 30 Jun 2006 08:55:51 +0000 (01:55 -0700)
committerLinus Torvalds <[email protected]>
Fri, 30 Jun 2006 18:25:37 +0000 (11:25 -0700)
Fix the INIT_ENV_ARG_LIMIT dependencies to what seems to have been
intended.

Spotted by Jean-Luc Leger.

Signed-off-by: Adrian Bunk <[email protected]>
Acked-by: Paolo 'Blaisorblade' Giarrusso <[email protected]>
Cc: Jeff Dike <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
init/Kconfig

index f515948889a75c49b1a4b4ee279101f953c54549..a5b073a103e7cf9cd5a3438765a97e6468c23c6f 100644 (file)
@@ -54,8 +54,8 @@ config LOCK_KERNEL
 
 config INIT_ENV_ARG_LIMIT
        int
-       default 32 if !USERMODE
-       default 128 if USERMODE
+       default 32 if !UML
+       default 128 if UML
        help
          Maximum of each of the number of arguments and environment
          variables passed to init from the kernel command line.