diff options
Diffstat (limited to 'arch/x86/include/asm/processor.h')
| -rw-r--r-- | arch/x86/include/asm/processor.h | 25 | 
1 files changed, 1 insertions, 24 deletions
diff --git a/arch/x86/include/asm/processor.h b/arch/x86/include/asm/processor.h index 3270116b148..22224b3b43b 100644 --- a/arch/x86/include/asm/processor.h +++ b/arch/x86/include/asm/processor.h @@ -91,9 +91,6 @@ struct cpuinfo_x86 {  	/* Problems on some 486Dx4's and old 386's: */  	char			hard_math;  	char			rfu; -	char			fdiv_bug; -	char			f00f_bug; -	char			coma_bug;  	char			pad0;  #else  	/* Number of 4K pages in DTLB/ITLB combined(in pages): */ @@ -107,7 +104,7 @@ struct cpuinfo_x86 {  	__u32			extended_cpuid_level;  	/* Maximum supported CPUID level, -1=no CPUID: */  	int			cpuid_level; -	__u32			x86_capability[NCAPINTS]; +	__u32			x86_capability[NCAPINTS + NBUGINTS];  	char			x86_vendor_id[16];  	char			x86_model_id[64];  	/* in KB - valid for CPUS which support this call: */ @@ -973,26 +970,6 @@ unsigned long calc_aperfmperf_ratio(struct aperfmperf *old,  	return ratio;  } -/* - * AMD errata checking - */ -#ifdef CONFIG_CPU_SUP_AMD -extern const int amd_erratum_383[]; -extern const int amd_erratum_400[]; -extern bool cpu_has_amd_erratum(const int *); - -#define AMD_LEGACY_ERRATUM(...)		{ -1, __VA_ARGS__, 0 } -#define AMD_OSVW_ERRATUM(osvw_id, ...)	{ osvw_id, __VA_ARGS__, 0 } -#define AMD_MODEL_RANGE(f, m_start, s_start, m_end, s_end) \ -	((f << 24) | (m_start << 16) | (s_start << 12) | (m_end << 4) | (s_end)) -#define AMD_MODEL_RANGE_FAMILY(range)	(((range) >> 24) & 0xff) -#define AMD_MODEL_RANGE_START(range)	(((range) >> 12) & 0xfff) -#define AMD_MODEL_RANGE_END(range)	((range) & 0xfff) - -#else -#define cpu_has_amd_erratum(x)	(false) -#endif /* CONFIG_CPU_SUP_AMD */ -  extern unsigned long arch_align_stack(unsigned long sp);  extern void free_init_pages(char *what, unsigned long begin, unsigned long end);  |