aboutsummaryrefslogtreecommitdiffstats
path: root/arch/x86/kernel/signal_64.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/x86/kernel/signal_64.c')
-rw-r--r--arch/x86/kernel/signal_64.c5
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 */
62static int 62static int
63restore_sigcontext(struct pt_regs *regs, struct sigcontext __user *sc, unsigned long *prax) 63restore_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
119badframe: 120badframe: