summaryrefslogtreecommitdiff
path: root/arch/x86/include/uapi/asm/ptrace.h
diff options
context:
space:
mode:
Diffstat (limited to 'arch/x86/include/uapi/asm/ptrace.h')
-rw-r--r--arch/x86/include/uapi/asm/ptrace.h12
1 files changed, 4 insertions, 8 deletions
diff --git a/arch/x86/include/uapi/asm/ptrace.h b/arch/x86/include/uapi/asm/ptrace.h
index ac4b9aa4d999..4dc18e96d5f5 100644
--- a/arch/x86/include/uapi/asm/ptrace.h
+++ b/arch/x86/include/uapi/asm/ptrace.h
@@ -1,7 +1,7 @@
-#ifndef _UAPI_ASM_X86_PTRACE_H
-#define _UAPI_ASM_X86_PTRACE_H
+#ifndef _ASM_X86_PTRACE_H
+#define _ASM_X86_PTRACE_H
-#include <linux/compiler.h> /* For __user */
+ /* For */
#include <asm/ptrace-abi.h>
#include <asm/processor-flags.h>
@@ -12,7 +12,6 @@
/* this struct defines the way the registers are stored on the
stack during a system call. */
-#ifndef __KERNEL__
struct pt_regs {
long ebx;
@@ -34,11 +33,9 @@ struct pt_regs {
int xss;
};
-#endif /* __KERNEL__ */
#else /* __i386__ */
-#ifndef __KERNEL__
struct pt_regs {
unsigned long r15;
@@ -68,11 +65,10 @@ struct pt_regs {
/* top of stack page */
};
-#endif /* __KERNEL__ */
#endif /* !__i386__ */
#endif /* !__ASSEMBLY__ */
-#endif /* _UAPI_ASM_X86_PTRACE_H */
+#endif /* _ASM_X86_PTRACE_H */