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:
bff0aa4
)
x86: ia32_signal.c remove unnecessary function calls
author
Hiroshi Shimamoto
<h-shimamoto@ct.jp.nec.com>
Wed, 1 Oct 2008 03:30:51 +0000
(20:30 -0700)
committer
Ingo Molnar
<mingo@elte.hu>
Wed, 1 Oct 2008 06:20:13 +0000
(08:20 +0200)
the below 2 functions are called in save_i387_xstate_ia32()
- clear_used_math();
- stts();
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 690a480c68c5c8b548aad7e90548069747bc8cf3..4bc02b23674b5dfaaf91e813fb2be320dc57cd23 100644
(file)
--- a/
arch/x86/ia32/ia32_signal.c
+++ b/
arch/x86/ia32/ia32_signal.c
@@
-370,12
+370,9
@@
static int ia32_setup_sigcontext(struct sigcontext_ia32 __user *sc,
tmp = save_i387_xstate_ia32(fpstate);
if (tmp < 0)
err = -EFAULT;
- else {
- clear_used_math();
- stts();
+ else
err |= __put_user(ptr_to_compat(tmp ? fpstate : NULL),
&sc->fpstate);
- }
/* non-iBCS2 extensions.. */
err |= __put_user(mask, &sc->oldmask);