diff options
Diffstat (limited to 'drivers/input/evdev.c')
-rw-r--r-- | drivers/input/evdev.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/input/evdev.c b/drivers/input/evdev.c index 20e3a165989f..f8b278d3559b 100644 --- a/drivers/input/evdev.c +++ b/drivers/input/evdev.c | |||
@@ -160,6 +160,8 @@ struct input_event_compat { | |||
160 | # define COMPAT_TEST IS_IA32_PROCESS(ia64_task_regs(current)) | 160 | # define COMPAT_TEST IS_IA32_PROCESS(ia64_task_regs(current)) |
161 | #elif defined(CONFIG_ARCH_S390) | 161 | #elif defined(CONFIG_ARCH_S390) |
162 | # define COMPAT_TEST test_thread_flag(TIF_31BIT) | 162 | # define COMPAT_TEST test_thread_flag(TIF_31BIT) |
163 | #elif defined(CONFIG_MIPS) | ||
164 | # define COMPAT_TEST (current->thread.mflags & MF_32BIT_ADDR) | ||
163 | #else | 165 | #else |
164 | # define COMPAT_TEST test_thread_flag(TIF_32BIT) | 166 | # define COMPAT_TEST test_thread_flag(TIF_32BIT) |
165 | #endif | 167 | #endif |