x86/compat: Factor out ia32 compat code from compat_arch_ptrace()
authorBrian Gerst <brgerst@gmail.com>
Mon, 22 Jun 2015 11:55:14 +0000 (07:55 -0400)
committerIngo Molnar <mingo@kernel.org>
Mon, 6 Jul 2015 13:28:56 +0000 (15:28 +0200)
commit601275c3e04c43b3b34237ab36c27fc1cfb8a189
tree0c01d26369e1d973fcdbe46ba782813fd59644f3
parent7da770785f9740af1cb24b8fd63075543bd00711
x86/compat: Factor out ia32 compat code from compat_arch_ptrace()

Move the ia32-specific code in compat_arch_ptrace() into its
own function.

Signed-off-by: Brian Gerst <brgerst@gmail.com>
Cc: Andy Lutomirski <luto@amacapital.net>
Cc: Borislav Petkov <bp@alien8.de>
Cc: Denys Vlasenko <dvlasenk@redhat.com>
Cc: H. Peter Anvin <hpa@zytor.com>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Thomas Gleixner <tglx@linutronix.de>
Link: http://lkml.kernel.org/r/1434974121-32575-6-git-send-email-brgerst@gmail.com
Signed-off-by: Ingo Molnar <mingo@kernel.org>
arch/x86/kernel/ptrace.c