|
@@ -140,7 +140,6 @@ extern void clear_cpu_cap(struct cpuinfo_x86 *c, unsigned int bit);
|
|
|
|
|
|
#define setup_force_cpu_bug(bit) setup_force_cpu_cap(bit)
|
|
|
|
|
|
-#if defined(CC_HAVE_ASM_GOTO) && defined(CONFIG_X86_FAST_FEATURE_TESTS)
|
|
|
/*
|
|
|
* Static testing of CPU features. Used the same as boot_cpu_has().
|
|
|
* These will statically patch the target code for additional
|
|
@@ -196,13 +195,6 @@ t_no:
|
|
|
boot_cpu_has(bit) : \
|
|
|
_static_cpu_has(bit) \
|
|
|
)
|
|
|
-#else
|
|
|
-/*
|
|
|
- * Fall back to dynamic for gcc versions which don't support asm goto. Should be
|
|
|
- * a minority now anyway.
|
|
|
- */
|
|
|
-#define static_cpu_has(bit) boot_cpu_has(bit)
|
|
|
-#endif
|
|
|
|
|
|
#define cpu_has_bug(c, bit) cpu_has(c, (bit))
|
|
|
#define set_cpu_bug(c, bit) set_cpu_cap(c, (bit))
|