From: Kay Sievers Date: Wed, 14 Nov 2007 22:39:42 +0000 (+0100) Subject: allow LEGACY_PTYS to be set to 0 X-Git-Tag: v2.6.24-rc4~78^2~5 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=345ee8392dc149ca529f80e40583928977ad592e;p=linux-2.6-omap-h63xx.git allow LEGACY_PTYS to be set to 0 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 Acked-by: Jean Delvare Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/char/Kconfig b/drivers/char/Kconfig index bf18d757b87..a509b8d7978 100644 --- a/drivers/char/Kconfig +++ b/drivers/char/Kconfig @@ -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.