x86/compat: Move copy_siginfo_*_user32() to signal_compat.c
authorBrian Gerst <brgerst@gmail.com>
Mon, 22 Jun 2015 11:55:10 +0000 (07:55 -0400)
committerIngo Molnar <mingo@kernel.org>
Mon, 6 Jul 2015 13:28:55 +0000 (15:28 +0200)
commitc0bfd26e136cafc2b23c16225b4d7b1e14de81c1
treefe9eca7162e12181ed2c61e0dae1ff8e5ff261af
parent5a33fcb8d991209bac0a266ab499e4b53d116cdd
x86/compat: Move copy_siginfo_*_user32() to signal_compat.c

copy_siginfo_to_user32() and copy_siginfo_from_user32() are used
by both the 32-bit compat and x32 ABIs.  Move them to
signal_compat.c.

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-2-git-send-email-brgerst@gmail.com
Signed-off-by: Ingo Molnar <mingo@kernel.org>
arch/x86/ia32/ia32_signal.c
arch/x86/kernel/Makefile
arch/x86/kernel/signal_compat.c [new file with mode: 0644]