Merge branches 'x86/pat2' and 'x86/fpu'; commit 'v2.6.28' into x86/core
authorIngo Molnar <mingo@elte.hu>
Thu, 25 Dec 2008 10:50:41 +0000 (11:50 +0100)
committerIngo Molnar <mingo@elte.hu>
Thu, 25 Dec 2008 10:50:41 +0000 (11:50 +0100)
1  2  3  4 
Documentation/kernel-parameters.txt
arch/x86/kernel/traps.c

Simple merge
@@@@@ -684,15 -689,14 -688,15 -689,14 +684,15 @@@@@ void math_error(void __user *ip
         */
        cwd = get_fpu_cwd(task);
        swd = get_fpu_swd(task);
 - -    switch (swd & ~cwd & 0x3f) {
 - -    case 0x000: /* No unmasked exception */
 + +
 + +    err = swd & ~cwd & 0x3f;
 + +
-   #if CONFIG_X86_32
+   #ifdef CONFIG_X86_32
 + +    if (!err)
                return;
    #endif
 - -    default: /* Multiple exceptions */
 - -            break;
 - -    case 0x001: /* Invalid Op */
 + +
 + +    if (err & 0x001) {      /* Invalid op */
                /*
                 * swd & 0x240 == 0x040: Stack Underflow
                 * swd & 0x240 == 0x240: Stack Overflow