[PATCH] Remove SSE2 bugs.h check

From: Andi Kleen
Date: Fri Aug 29 2003 - 12:46:05 EST



Remove some dead code.

CONFIG_SSE2 hasn't been defined for some time, because everything
SSE related is handled at runtime based on cpuid.

-Andi

diff -u linux-2.6.0test4-work/include/asm-i386/bugs.h-o linux-2.6.0test4-work/include/asm-i386/bugs.h
--- linux-2.6.0test4-work/include/asm-i386/bugs.h-o 2003-05-27 03:00:24.000000000 +0200
+++ linux-2.6.0test4-work/include/asm-i386/bugs.h 2003-08-29 19:39:15.000000000 +0200
@@ -193,11 +193,6 @@
&& (boot_cpu_data.x86_mask < 6 || boot_cpu_data.x86_mask == 11))
panic("Kernel compiled for PMMX+, assumes a local APIC without the read-before-write bug!");
#endif
-
-#ifdef CONFIG_X86_SSE2
- if (!cpu_has_sse2)
- panic("Kernel compiled for SSE2, CPU doesn't have it.");
-#endif
}

extern void alternative_instructions(void);


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/