[PATCH 12/12] pcmcia: disable pcmcia ioctl for !ARM

Dominik Brodowski linux at dominikbrodowski.net
Sat Jan 16 07:42:55 EST 2010


The remaining legitimate ioctl user in the past years has been ARM, so
limit the config option to ARM as well. Also, to avoid any locking issues,
limit it to !SP an !PREEMPT.

CC: Russell King <rmk+kernel at arm.linux.org.uk>
Signed-off-by: Dominik Brodowski <linux at dominikbrodowski.net>
---
 drivers/pcmcia/Kconfig |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/drivers/pcmcia/Kconfig b/drivers/pcmcia/Kconfig
index e8f35da..31cf652 100644
--- a/drivers/pcmcia/Kconfig
+++ b/drivers/pcmcia/Kconfig
@@ -51,7 +51,7 @@ config PCMCIA_LOAD_CIS
 
 config PCMCIA_IOCTL
 	bool "PCMCIA control ioctl (obsolete)"
-	depends on PCMCIA
+	depends on PCMCIA && ARM && !SMP && !PREEMPT
 	default y
 	help
 	  If you say Y here, the deprecated ioctl interface to the PCMCIA
-- 
1.6.3.3




More information about the linux-pcmcia mailing list