drivers/firmware/efi/efivars.c: use in_compat_syscall() to check for compat callers
authorAndy Lutomirski <luto@kernel.org>
Tue, 22 Mar 2016 21:25:16 +0000 (14:25 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Tue, 22 Mar 2016 22:36:02 +0000 (15:36 -0700)
commit4f01ed221e2ef5e7efdb0ac89179b4faf4cc3c86
tree31b6024af50186049da81445a75de3cce5395375
parenta25045ff32dfb4d28c650560d5f2a82c1773dd1c
drivers/firmware/efi/efivars.c: use in_compat_syscall() to check for compat callers

This should make no difference on any architecture, as x86's historical
is_compat_task behavior really did check whether the calling syscall was
a compat syscall.  x86's is_compat_task is going away, though.

Signed-off-by: Andy Lutomirski <luto@kernel.org>
Reviewed-by: Matt Fleming <matt@codeblueprint.co.uk>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/firmware/efi/efivars.c