x86/headers: Remove <asm/sigcontext.h> references on the kernel side
Now that all type definitions are in the UAPI header, include it directly, instead of through <asm/sigcontext.h>. [ We still keep asm/sigcontext.h, so that uapi/asm/sigcontext32.h can include <asm/sigcontext.h>. ] 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-16-git-send-email-mingo@kernel.org Signed-off-by: Ingo Molnar <mingo@kernel.org>
This commit is contained in:
parent
711531f4f3
commit
decb4c4115
|
@ -26,7 +26,7 @@
|
|||
#include <asm/ptrace.h>
|
||||
#include <asm/ia32_unistd.h>
|
||||
#include <asm/user32.h>
|
||||
#include <asm/sigcontext.h>
|
||||
#include <uapi/asm/sigcontext.h>
|
||||
#include <asm/proto.h>
|
||||
#include <asm/vdso.h>
|
||||
#include <asm/sigframe.h>
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
#define _ASM_X86_FPU_SIGNAL_H
|
||||
|
||||
#ifdef CONFIG_X86_64
|
||||
# include <asm/sigcontext.h>
|
||||
# include <uapi/asm/sigcontext.h>
|
||||
# include <asm/user32.h>
|
||||
struct ksignal;
|
||||
int ia32_setup_rt_frame(int sig, struct ksignal *ksig,
|
||||
|
|
|
@ -10,7 +10,7 @@
|
|||
* 32 bit structures for IA32 support.
|
||||
*/
|
||||
|
||||
#include <asm/sigcontext.h>
|
||||
#include <uapi/asm/sigcontext.h>
|
||||
|
||||
/* signal.h */
|
||||
|
||||
|
|
|
@ -11,7 +11,7 @@ struct vm86;
|
|||
#include <asm/math_emu.h>
|
||||
#include <asm/segment.h>
|
||||
#include <asm/types.h>
|
||||
#include <asm/sigcontext.h>
|
||||
#include <uapi/asm/sigcontext.h>
|
||||
#include <asm/current.h>
|
||||
#include <asm/cpufeature.h>
|
||||
#include <asm/page.h>
|
||||
|
|
|
@ -1,6 +1,8 @@
|
|||
#ifndef _ASM_X86_SIGCONTEXT_H
|
||||
#define _ASM_X86_SIGCONTEXT_H
|
||||
|
||||
/* This is a legacy header - all kernel code includes <uapi/asm/sigcontext.h> directly. */
|
||||
|
||||
#include <uapi/asm/sigcontext.h>
|
||||
|
||||
#endif /* _ASM_X86_SIGCONTEXT_H */
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
#ifndef _ASM_X86_SIGFRAME_H
|
||||
#define _ASM_X86_SIGFRAME_H
|
||||
|
||||
#include <asm/sigcontext.h>
|
||||
#include <uapi/asm/sigcontext.h>
|
||||
#include <asm/siginfo.h>
|
||||
#include <asm/ucontext.h>
|
||||
#include <linux/compat.h>
|
||||
|
|
|
@ -34,7 +34,7 @@ extern void do_signal(struct pt_regs *regs);
|
|||
|
||||
#define __ARCH_HAS_SA_RESTORER
|
||||
|
||||
#include <asm/sigcontext.h>
|
||||
#include <uapi/asm/sigcontext.h>
|
||||
|
||||
#ifdef __i386__
|
||||
|
||||
|
|
|
@ -71,7 +71,7 @@
|
|||
|
||||
#include "fpu_system.h"
|
||||
|
||||
#include <asm/sigcontext.h> /* for struct _fpstate */
|
||||
#include <uapi/asm/sigcontext.h> /* for struct _fpstate */
|
||||
#include <asm/math_emu.h>
|
||||
#include <linux/linkage.h>
|
||||
|
||||
|
|
Loading…
Reference in New Issue