* [PATCH] Remove SSE2 bugs.h check
@ 2003-08-29 17:42 Andi Kleen
0 siblings, 0 replies; only message in thread
From: Andi Kleen @ 2003-08-29 17:42 UTC (permalink / raw)
To: akpm; +Cc: linux-kernel
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);
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2003-08-29 17:42 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-08-29 17:42 [PATCH] Remove SSE2 bugs.h check Andi Kleen
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox