x86/compat: remove is_compat_task()
authorAndy Lutomirski <luto@kernel.org>
Tue, 22 Mar 2016 21:25:27 +0000 (14:25 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Tue, 22 Mar 2016 22:36:02 +0000 (15:36 -0700)
commitf970165beeaa4803438e435d68022b3680a1a0b0
treee8655e510222813198b423f60212838873329fdc
parent7365abbade07f9181cbd013669642f129e9ec635
x86/compat: remove is_compat_task()

x86's is_compat_task always checked the current syscall type, not the
task type.  It has no non-arch users any more, so just remove it to
avoid confusion.

On x86, nothing should really be checking the task ABI.  There are
legitimate users for the syscall ABI and for the mm ABI.

Signed-off-by: Andy Lutomirski <luto@kernel.org>
Cc: Ingo Molnar <mingo@elte.hu>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: "H. Peter Anvin" <hpa@zytor.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
arch/x86/include/asm/compat.h
arch/x86/include/asm/ftrace.h
arch/x86/kernel/process_64.c