summaryrefslogtreecommitdiffstats
path: root/arch/x86/um/ptrace_64.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/x86/um/ptrace_64.c')
-rw-r--r--arch/x86/um/ptrace_64.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/um/ptrace_64.c b/arch/x86/um/ptrace_64.c
index 6e6343e73296..3b52bf0b418a 100644
--- a/arch/x86/um/ptrace_64.c
+++ b/arch/x86/um/ptrace_64.c
@@ -46,7 +46,7 @@ static const int reg_offsets[] =
[FS >> 3] = HOST_FS,
[GS >> 3] = HOST_GS,
[EFLAGS >> 3] = HOST_EFLAGS,
- [ORIG_RAX >> 3] = HOST_ORIG_RAX,
+ [ORIG_RAX >> 3] = HOST_ORIG_AX,
};
int putreg(struct task_struct *child, int regno, unsigned long value)