diff options
author | Al Viro <viro@ftp.linux.org.uk> | 2011-08-18 20:10:09 +0100 |
---|---|---|
committer | Richard Weinberger <richard@nod.at> | 2011-11-02 14:15:18 +0100 |
commit | 3579a389730dd74d9f280152c52aa851dd1da860 (patch) | |
tree | fffea858abf10a13da5f76b3f3f5bf85fd4fa568 /arch/x86/um/ptrace_32.c | |
parent | 8edc4147bec5b7b92b48a6013ec99c41b16c5f93 (diff) |
um: merge HOST_... of registers common on i386 and amd64
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Richard Weinberger <richard@nod.at>
Diffstat (limited to 'arch/x86/um/ptrace_32.c')
-rw-r--r-- | arch/x86/um/ptrace_32.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/arch/x86/um/ptrace_32.c b/arch/x86/um/ptrace_32.c index a174fde2531c..3b949daa095c 100644 --- a/arch/x86/um/ptrace_32.c +++ b/arch/x86/um/ptrace_32.c @@ -51,13 +51,13 @@ int is_syscall(unsigned long addr) #define FLAG_MASK 0x00044dd5 static const int reg_offsets[] = { - [EBX] = HOST_EBX, - [ECX] = HOST_ECX, - [EDX] = HOST_EDX, - [ESI] = HOST_ESI, - [EDI] = HOST_EDI, - [EBP] = HOST_EBP, - [EAX] = HOST_EAX, + [EBX] = HOST_BX, + [ECX] = HOST_CX, + [EDX] = HOST_DX, + [ESI] = HOST_SI, + [EDI] = HOST_DI, + [EBP] = HOST_BP, + [EAX] = HOST_AX, [DS] = HOST_DS, [ES] = HOST_ES, [FS] = HOST_FS, |