[PATCH] x86_64: Implement is_compat_task the right way
[deliverable/linux.git] / drivers / input / evdev.c
index f7490a015d18a667e979cb68e0654d6a1e49c370..362b33556b1affa5b9b66b565627f05098b7f9a9 100644 (file)
@@ -154,8 +154,10 @@ struct input_event_compat {
        __s32 value;
 };
 
+/* Note to the author of this code: did it ever occur to
+   you why the ifdefs are needed? Think about it again. -AK */
 #ifdef CONFIG_X86_64
-#  define COMPAT_TEST test_thread_flag(TIF_IA32)
+#  define COMPAT_TEST is_compat_task()
 #elif defined(CONFIG_IA64)
 #  define COMPAT_TEST IS_IA32_PROCESS(ia64_task_regs(current))
 #elif defined(CONFIG_S390)
This page took 0.036297 seconds and 5 git commands to generate.