aboutsummaryrefslogtreecommitdiffstats
path: root/arch/x86/kernel/signal_32.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/x86/kernel/signal_32.c')
-rw-r--r--arch/x86/kernel/signal_32.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/x86/kernel/signal_32.c b/arch/x86/kernel/signal_32.c
index 011c62fa563c..34fc0416b135 100644
--- a/arch/x86/kernel/signal_32.c
+++ b/arch/x86/kernel/signal_32.c
@@ -393,8 +393,8 @@ static int setup_frame(int sig, struct k_sigaction *ka,
393 regs->sp = (unsigned long) frame; 393 regs->sp = (unsigned long) frame;
394 regs->ip = (unsigned long) ka->sa.sa_handler; 394 regs->ip = (unsigned long) ka->sa.sa_handler;
395 regs->ax = (unsigned long) sig; 395 regs->ax = (unsigned long) sig;
396 regs->dx = (unsigned long) 0; 396 regs->dx = 0;
397 regs->cx = (unsigned long) 0; 397 regs->cx = 0;
398 398
399 regs->ds = __USER_DS; 399 regs->ds = __USER_DS;
400 regs->es = __USER_DS; 400 regs->es = __USER_DS;