diff options
Diffstat (limited to 'arch/x86/kernel/signal_64.c')
-rw-r--r-- | arch/x86/kernel/signal_64.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/arch/x86/kernel/signal_64.c b/arch/x86/kernel/signal_64.c index 8bb1013eb62b..f3247d71edbc 100644 --- a/arch/x86/kernel/signal_64.c +++ b/arch/x86/kernel/signal_64.c | |||
@@ -60,7 +60,8 @@ sys_sigaltstack(const stack_t __user *uss, stack_t __user *uoss, | |||
60 | * Do a signal return; undo the signal stack. | 60 | * Do a signal return; undo the signal stack. |
61 | */ | 61 | */ |
62 | static int | 62 | static int |
63 | restore_sigcontext(struct pt_regs *regs, struct sigcontext __user *sc, unsigned long *prax) | 63 | restore_sigcontext(struct pt_regs *regs, struct sigcontext __user *sc, |
64 | unsigned long *pax) | ||
64 | { | 65 | { |
65 | unsigned int err = 0; | 66 | unsigned int err = 0; |
66 | 67 | ||
@@ -113,7 +114,7 @@ restore_sigcontext(struct pt_regs *regs, struct sigcontext __user *sc, unsigned | |||
113 | } | 114 | } |
114 | } | 115 | } |
115 | 116 | ||
116 | err |= __get_user(*prax, &sc->ax); | 117 | err |= __get_user(*pax, &sc->ax); |
117 | return err; | 118 | return err; |
118 | 119 | ||
119 | badframe: | 120 | badframe: |