summaryrefslogtreecommitdiff
path: root/arch/x86/ia32
diff options
context:
space:
mode:
authorHiroshi Shimamoto <h-shimamoto@ct.jp.nec.com>2008-12-16 14:04:43 -0800
committerIngo Molnar <mingo@elte.hu>2008-12-16 23:06:13 +0100
commit8bee3f0a662ad9c3d6bb705b0530a3b90f089c55 (patch)
tree2833fae5d550f17a856a7e36a4279aecd3c39fc6 /arch/x86/ia32
parentd0b48ca189523b638d8674fa41e94d1950a17038 (diff)
downloadlwn-8bee3f0a662ad9c3d6bb705b0530a3b90f089c55.tar.gz
lwn-8bee3f0a662ad9c3d6bb705b0530a3b90f089c55.zip
x86: ia32_signal: use proper macro __USER32_DS
Impact: cleanup Use __USER32_DS instead of __USER_DS in ia32_signal.c. No impact, because __USER32_DS is defined __USER_DS. Signed-off-by: Hiroshi Shimamoto <h-shimamoto@ct.jp.nec.com> Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'arch/x86/ia32')
-rw-r--r--arch/x86/ia32/ia32_signal.c2
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,
}
/* This is the legacy signal stack switching. */
- else if ((regs->ss & 0xffff) != __USER_DS &&
+ else if ((regs->ss & 0xffff) != __USER32_DS &&
!(ka->sa.sa_flags & SA_RESTORER) &&
ka->sa.sa_restorer)
sp = (unsigned long) ka->sa.sa_restorer;