git://git.onelab.eu
/
linux-2.6.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fedora core 6 1.2949 + vserver 2.2.0
[linux-2.6.git]
/
arch
/
i386
/
math-emu
/
load_store.c
diff --git
a/arch/i386/math-emu/load_store.c
b/arch/i386/math-emu/load_store.c
index
85314be
..
eebd6fb
100644
(file)
--- a/
arch/i386/math-emu/load_store.c
+++ b/
arch/i386/math-emu/load_store.c
@@
-227,6
+227,8
@@
int FPU_load_store(u_char type, fpu_addr_modes addr_modes,
case 027: /* fild m64int */
clear_C1();
loaded_tag = FPU_load_int64((long long __user *)data_address);
case 027: /* fild m64int */
clear_C1();
loaded_tag = FPU_load_int64((long long __user *)data_address);
+ if (loaded_tag == TAG_Error)
+ return 0;
FPU_settag0(loaded_tag);
break;
case 030: /* fstenv m14/28byte */
FPU_settag0(loaded_tag);
break;
case 030: /* fstenv m14/28byte */