diff options
Diffstat (limited to 'arch/x86/ia32')
-rw-r--r-- | arch/x86/ia32/ia32_signal.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/ia32/ia32_signal.c b/arch/x86/ia32/ia32_signal.c index e4f2a5045743..9c99c429a20d 100644 --- a/arch/x86/ia32/ia32_signal.c +++ b/arch/x86/ia32/ia32_signal.c | |||
@@ -396,7 +396,7 @@ static void __user *get_sigframe(struct k_sigaction *ka, struct pt_regs *regs, | |||
396 | } | 396 | } |
397 | 397 | ||
398 | /* This is the legacy signal stack switching. */ | 398 | /* This is the legacy signal stack switching. */ |
399 | else if ((regs->ss & 0xffff) != __USER_DS && | 399 | else if ((regs->ss & 0xffff) != __USER32_DS && |
400 | !(ka->sa.sa_flags & SA_RESTORER) && | 400 | !(ka->sa.sa_flags & SA_RESTORER) && |
401 | ka->sa.sa_restorer) | 401 | ka->sa.sa_restorer) |
402 | sp = (unsigned long) ka->sa.sa_restorer; | 402 | sp = (unsigned long) ka->sa.sa_restorer; |