aboutsummaryrefslogtreecommitdiff
path: root/drivers/input
diff options
context:
space:
mode:
authorfranciscofranco <franciscofranco.1990@gmail.com>2015-12-05 04:01:17 +0000
committerMister Oyster <oysterized@gmail.com>2017-12-25 16:11:14 +0100
commit2d6a958ab8f0aaa9c20738a0ac22ba94ae000362 (patch)
tree1c2fafd423477f54ef91480567b8937d9a5215dc /drivers/input
parente5a41b03c4e0a299623929f41a3a1e17fa82076a (diff)
arm64: use the new *_relaxed macros for lower power usage
Signed-off-by: franciscofranco <franciscofranco.1990@gmail.com> Signed-off-by: Joe Maples <joe@frap129.org> Signed-off-by: Mister Oyster <oysterized@gmail.com>
Diffstat (limited to 'drivers/input')
-rw-r--r--drivers/input/input-compat.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/input/input-compat.h b/drivers/input/input-compat.h
index 148f66fe3..5b8c62ef6 100644
--- a/drivers/input/input-compat.h
+++ b/drivers/input/input-compat.h
@@ -22,11 +22,11 @@
#if defined(CONFIG_X86_64) || defined(CONFIG_TILE)
# define INPUT_COMPAT_TEST is_compat_task()
#elif defined(CONFIG_S390)
-# define INPUT_COMPAT_TEST test_thread_flag(TIF_31BIT)
+# define INPUT_COMPAT_TEST test_thread_flag_relaxed(TIF_31BIT)
#elif defined(CONFIG_MIPS)
-# define INPUT_COMPAT_TEST test_thread_flag(TIF_32BIT_ADDR)
+# define INPUT_COMPAT_TEST test_thread_flag_relaxed(TIF_32BIT_ADDR)
#else
-# define INPUT_COMPAT_TEST test_thread_flag(TIF_32BIT)
+# define INPUT_COMPAT_TEST test_thread_flag_relaxed(TIF_32BIT)
#endif
struct input_event_compat {