CVSROOT: /home/cvs
Module name: linux
Changes by: ralf@ftp.linux-mips.org 05/08/31 16:04:31
Modified files:
drivers/input : evdev.c
Log message:
Kludge evdev to build. Whoever wrote this may want to join the
marketing
department of the Sirius Cybernetic Corporation once the great
revolution
comes ;-)
diff -urN linux/drivers/input/evdev.c linux/drivers/input/evdev.c
--- linux/drivers/input/evdev.c 2005/08/03 15:50:35 1.32
+++ linux/drivers/input/evdev.c 2005/08/31 15:04:30 1.33
@@ -160,6 +160,8 @@
# define COMPAT_TEST IS_IA32_PROCESS(ia64_task_regs(current))
#elif defined(CONFIG_ARCH_S390)
# define COMPAT_TEST test_thread_flag(TIF_31BIT)
+#elif defined(CONFIG_MIPS)
+# define COMPAT_TEST (current->thread.mflags & MF_32BIT_ADDR)
#else
# define COMPAT_TEST test_thread_flag(TIF_32BIT)
#endif
|