Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

x86/headers: Remove direct sigcontext32.h uses

Now that all sigcontext types are defined in asm/sigcontext.h,
remove the various sigcontext32.h uses in the kernel.

We still keep the header itself, which includes sigcontext.h, in
case user-space relies on it.

Acked-by: Mikko Rapeli <mikko.rapeli@iki.fi>
Cc: Andy Lutomirski <luto@amacapital.net>
Cc: Borislav Petkov <bp@alien8.de>
Cc: Brian Gerst <brgerst@gmail.com>
Cc: Denys Vlasenko <dvlasenk@redhat.com>
Cc: H. Peter Anvin <hpa@zytor.com>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Oleg Nesterov <oleg@redhat.com>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: linux-kernel@vger.kernel.org
Link: http://lkml.kernel.org/r/1441438363-9999-15-git-send-email-mingo@kernel.org
Signed-off-by: Ingo Molnar <mingo@kernel.org>

+4 -4
+1 -1
arch/x86/ia32/ia32_signal.c
··· 26 26 #include <asm/ptrace.h> 27 27 #include <asm/ia32_unistd.h> 28 28 #include <asm/user32.h> 29 - #include <asm/sigcontext32.h> 29 + #include <asm/sigcontext.h> 30 30 #include <asm/proto.h> 31 31 #include <asm/vdso.h> 32 32 #include <asm/sigframe.h>
+1 -1
arch/x86/include/asm/fpu/signal.h
··· 5 5 #define _ASM_X86_FPU_SIGNAL_H 6 6 7 7 #ifdef CONFIG_X86_64 8 - # include <asm/sigcontext32.h> 8 + # include <asm/sigcontext.h> 9 9 # include <asm/user32.h> 10 10 struct ksignal; 11 11 int ia32_setup_rt_frame(int sig, struct ksignal *ksig,
+1 -1
arch/x86/include/asm/ia32.h
··· 10 10 * 32 bit structures for IA32 support. 11 11 */ 12 12 13 - #include <asm/sigcontext32.h> 13 + #include <asm/sigcontext.h> 14 14 15 15 /* signal.h */ 16 16
+1 -1
arch/x86/include/uapi/asm/sigcontext32.h
··· 1 1 #ifndef _ASM_X86_SIGCONTEXT32_H 2 2 #define _ASM_X86_SIGCONTEXT32_H 3 3 4 - /* Signal context definitions for compat 32-bit programs: */ 4 + /* This is a legacy file - all the type definitions are in sigcontext.h: */ 5 5 6 6 #include <asm/sigcontext.h> 7 7