diff options
-rw-r--r-- | arch/i386/kernel/traps.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/arch/i386/kernel/traps.c b/arch/i386/kernel/traps.c index 09a58cb6daa7..431a551e46ea 100644 --- a/arch/i386/kernel/traps.c +++ b/arch/i386/kernel/traps.c | |||
@@ -807,8 +807,9 @@ void math_error(void __user *eip) | |||
807 | cwd = get_fpu_cwd(task); | 807 | cwd = get_fpu_cwd(task); |
808 | swd = get_fpu_swd(task); | 808 | swd = get_fpu_swd(task); |
809 | switch (swd & ~cwd & 0x3f) { | 809 | switch (swd & ~cwd & 0x3f) { |
810 | case 0x000: | 810 | case 0x000: /* No unmasked exception */ |
811 | default: | 811 | return; |
812 | default: /* Multiple exceptions */ | ||
812 | break; | 813 | break; |
813 | case 0x001: /* Invalid Op */ | 814 | case 0x001: /* Invalid Op */ |
814 | /* | 815 | /* |