patch-2.3.23 linux/drivers/char/vt.c

Next file: linux/drivers/i2o/Config.in
Previous file: linux/drivers/char/tty_io.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.3.22/linux/drivers/char/vt.c linux/drivers/char/vt.c
@@ -61,7 +61,7 @@
  */
 unsigned char keyboard_type = KB_101;
 
-#ifndef __alpha__
+#if !defined(__alpha__) && !defined(__arm__)
 asmlinkage long sys_ioperm(unsigned long from, unsigned long num, int on);
 #endif
 
@@ -89,7 +89,8 @@
  */
 
 #if defined(__i386__) || defined(__alpha__) || defined(__powerpc__) \
-    || (defined(__mips__) && !defined(CONFIG_SGI))
+    || (defined(__mips__) && !defined(CONFIG_SGI)) \
+    || (defined(__arm__) && defined(CONFIG_HOST_FOOTBRIDGE))
 
 static void
 kd_nosound(unsigned long ignored)
@@ -470,7 +471,7 @@
 		ucval = keyboard_type;
 		goto setchar;
 
-#ifndef __alpha__
+#if !defined(__alpha__) && !defined(__arm__)
 		/*
 		 * These cannot be implemented on any machine that implements
 		 * ioperm() in user level (such as Alpha PCs).

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)