linux-cvs-patches
[Top] [All Lists]

CVS Update@linux-mips.org: linux

To: linux-cvs-patches@linux-mips.org
Subject: CVS Update@linux-mips.org: linux
From: ralf@linux-mips.org
Date: Wed, 31 Aug 2005 16:04:37 +0100
Reply-to: linux-mips@linux-mips.org
Sender: linux-cvs-patches-bounce@linux-mips.org
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

<Prev in Thread] Current Thread [Next in Thread>