aboutsummaryrefslogtreecommitdiffstats
path: root/arch/um/include/asm/ptrace-i386.h
diff options
context:
space:
mode:
Diffstat (limited to 'arch/um/include/asm/ptrace-i386.h')
-rw-r--r--arch/um/include/asm/ptrace-i386.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/arch/um/include/asm/ptrace-i386.h b/arch/um/include/asm/ptrace-i386.h
index b2d24c5ea2c3..0273e4d09af7 100644
--- a/arch/um/include/asm/ptrace-i386.h
+++ b/arch/um/include/asm/ptrace-i386.h
@@ -10,8 +10,6 @@
10 10
11#include "linux/compiler.h" 11#include "linux/compiler.h"
12#include "asm/ptrace-generic.h" 12#include "asm/ptrace-generic.h"
13#include <asm/user.h>
14#include "sysdep/ptrace.h"
15 13
16#define PT_REGS_EAX(r) UPT_EAX(&(r)->regs) 14#define PT_REGS_EAX(r) UPT_EAX(&(r)->regs)
17#define PT_REGS_EBX(r) UPT_EBX(&(r)->regs) 15#define PT_REGS_EBX(r) UPT_EBX(&(r)->regs)
@@ -34,8 +32,6 @@
34#define PT_REGS_SYSCALL_RET(r) PT_REGS_EAX(r) 32#define PT_REGS_SYSCALL_RET(r) PT_REGS_EAX(r)
35#define PT_FIX_EXEC_STACK(sp) do ; while(0) 33#define PT_FIX_EXEC_STACK(sp) do ; while(0)
36 34
37/* Cope with a conditional i386 definition. */
38#undef profile_pc
39#define profile_pc(regs) PT_REGS_IP(regs) 35#define profile_pc(regs) PT_REGS_IP(regs)
40 36
41#define user_mode(r) UPT_IS_USER(&(r)->regs) 37#define user_mode(r) UPT_IS_USER(&(r)->regs)