diff options
Diffstat (limited to 'arch/i386/math-emu/load_store.c')
-rw-r--r-- | arch/i386/math-emu/load_store.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/i386/math-emu/load_store.c b/arch/i386/math-emu/load_store.c index 85314be2fef8..eebd6fb1c8a8 100644 --- 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, | |||
227 | case 027: /* fild m64int */ | 227 | case 027: /* fild m64int */ |
228 | clear_C1(); | 228 | clear_C1(); |
229 | loaded_tag = FPU_load_int64((long long __user *)data_address); | 229 | loaded_tag = FPU_load_int64((long long __user *)data_address); |
230 | if (loaded_tag == TAG_Error) | ||
231 | return 0; | ||
230 | FPU_settag0(loaded_tag); | 232 | FPU_settag0(loaded_tag); |
231 | break; | 233 | break; |
232 | case 030: /* fstenv m14/28byte */ | 234 | case 030: /* fstenv m14/28byte */ |