Skip to contentSkip to conversation

Remove SSE2 bugs.h check

PATCH New Andi Kleen 1 participant 1 message Aug 29, 2003

lore
Share & tools
lore

Andi Kleen

author
#0 lore raw

PATCH 1/1 Remove SSE2 bugs.h check

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

include/asm-i386/bugs.h renamed from include/asm-i386/bugs.h-o +0 -5
diff -u linux-2.6.0test4-work/include/asm-i386/bugs.h-o linux-2.6.0test4-work/include/asm-i386/bugs.h
@@ -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);