projects
/
GitHub
/
exynos8895
/
android_kernel_samsung_universal8895.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b2994ef
)
x86: signal_64.c: arg for restore_i387_xstate() is void __user *
author
Hiroshi Shimamoto
<h-shimamoto@ct.jp.nec.com>
Wed, 10 Sep 2008 00:21:17 +0000
(17:21 -0700)
committer
Ingo Molnar
<mingo@elte.hu>
Wed, 10 Sep 2008 06:28:23 +0000
(08:28 +0200)
restore_i387_xstate() is declared as:
int restore_i387_xstate(void __user *buf);
so, make the variable buf void __user *.
Signed-off-by: Hiroshi Shimamoto <h-shimamoto@ct.jp.nec.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
arch/x86/kernel/signal_64.c
patch
|
blob
|
blame
|
history
diff --git
a/arch/x86/kernel/signal_64.c
b/arch/x86/kernel/signal_64.c
index 552a331313ff8a3fbad6f5f9bf8835fb996378df..321da93f2fb7c645d4b61806da89a072f70e2019 100644
(file)
--- a/
arch/x86/kernel/signal_64.c
+++ b/
arch/x86/kernel/signal_64.c
@@
-94,7
+94,8
@@
restore_sigcontext(struct pt_regs *regs, struct sigcontext __user *sc,
}
{
- struct _fpstate __user *buf;
+ void __user *buf;
+
err |= __get_user(buf, &sc->fpstate);
err |= restore_i387_xstate(buf);
}