input: redefine INPUT_COMPAT_TEST as in_compat_syscall()
authorAndy Lutomirski <luto@kernel.org>
Tue, 22 Mar 2016 21:25:21 +0000 (14:25 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Tue, 22 Mar 2016 22:36:02 +0000 (15:36 -0700)
commitf4056b52845283d1c1eaf546d7d05d74923029b2
tree9f2fd2e2677cbde77e2b18f0c3a533aa28b6b081
parent10f1685fd59d4ded226123550bdaef176b99f65f
input: redefine INPUT_COMPAT_TEST as in_compat_syscall()

The input compat code should work like all other compat code: for 32-bit
syscalls, use the 32-bit ABI and for 64-bit syscalls, use the 64-bit
ABI.  We have a helper for that (in_compat_syscall()): just use it.

Signed-off-by: Andy Lutomirski <luto@kernel.org>
Cc: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/input/input-compat.h