Commit b94a6563 authored by Andrew Morton's avatar Andrew Morton Committed by Linus Torvalds

[PATCH] Remove SSE2 bugs.h check

From: Andi Kleen <ak@muc.de>

Remove some dead code.

CONFIG_SSE2 hasn't been defined for some time, because everything
SSE related is handled at runtime based on cpuid.
parent d867ca5c
...@@ -193,11 +193,6 @@ static void __init check_config(void) ...@@ -193,11 +193,6 @@ static void __init check_config(void)
&& (boot_cpu_data.x86_mask < 6 || boot_cpu_data.x86_mask == 11)) && (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!"); panic("Kernel compiled for PMMX+, assumes a local APIC without the read-before-write bug!");
#endif #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); extern void alternative_instructions(void);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment