diff options
author | Hiroshi Shimamoto <h-shimamoto@ct.jp.nec.com> | 2008-09-09 20:21:17 -0400 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2008-09-10 02:28:23 -0400 |
commit | 0c40ed71736c20f447843b3c96b715bb9c4904d7 (patch) | |
tree | 5805764eeeff588ff5c0aef0618c2c0c01a65359 /arch/x86/kernel/signal_64.c | |
parent | b2994ef0de252d41f1511e5f87704bedda12dabc (diff) |
x86: signal_64.c: arg for restore_i387_xstate() is void __user *
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>
Diffstat (limited to 'arch/x86/kernel/signal_64.c')
-rw-r--r-- | arch/x86/kernel/signal_64.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/x86/kernel/signal_64.c b/arch/x86/kernel/signal_64.c index 552a331313ff..321da93f2fb7 100644 --- 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, | |||
94 | } | 94 | } |
95 | 95 | ||
96 | { | 96 | { |
97 | struct _fpstate __user *buf; | 97 | void __user *buf; |
98 | |||
98 | err |= __get_user(buf, &sc->fpstate); | 99 | err |= __get_user(buf, &sc->fpstate); |
99 | err |= restore_i387_xstate(buf); | 100 | err |= restore_i387_xstate(buf); |
100 | } | 101 | } |