projects
/
GitHub
/
LineageOS
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d0b48ca
)
x86: ia32_signal: use proper macro __USER32_DS
author
Hiroshi Shimamoto
<h-shimamoto@ct.jp.nec.com>
Tue, 16 Dec 2008 22:04:43 +0000
(14:04 -0800)
committer
Ingo Molnar
<mingo@elte.hu>
Tue, 16 Dec 2008 22:06:13 +0000
(23:06 +0100)
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>
arch/x86/ia32/ia32_signal.c
patch
|
blob
|
blame
|
history
diff --git
a/arch/x86/ia32/ia32_signal.c
b/arch/x86/ia32/ia32_signal.c
index e4f2a5045743abdd513a3f0a5c0b450d989cef1b..9c99c429a20d14373a67e67fe7aedd03138a9fb1 100644
(file)
--- 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) != __USER
32
_DS &&
!(ka->sa.sa_flags & SA_RESTORER) &&
ka->sa.sa_restorer)
sp = (unsigned long) ka->sa.sa_restorer;