]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commitdiff
allow LEGACY_PTYS to be set to 0
authorKay Sievers <kay.sievers@vrfy.org>
Wed, 14 Nov 2007 22:39:42 +0000 (23:39 +0100)
committerGreg Kroah-Hartman <gregkh@suse.de>
Wed, 28 Nov 2007 21:53:52 +0000 (13:53 -0800)
The count of legacy pty devices can be set by a kernel commandline
parameter. For the distro kernel, we would like to disable all pty's
by default, but keep the opportunity to request devices on the kernel
commandline.

Signed-off-by: Kay Sievers <kay.sievers@vrfy.org>
Acked-by: Jean Delvare <jdelvare@suse.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/char/Kconfig

index bf18d757b87641e2413ab712626f6c0e55b6c7ff..a509b8d79781fe4c915a8444929348d758ad8c39 100644 (file)
@@ -457,7 +457,7 @@ config LEGACY_PTYS
 config LEGACY_PTY_COUNT
        int "Maximum number of legacy PTY in use"
        depends on LEGACY_PTYS
-       range 1 256
+       range 0 256
        default "256"
        ---help---
          The maximum number of legacy PTYs that can be used at any one time.