x86, cpu: Convert AMD Erratum 383
Convert the AMD erratum 383 testing code to the bug infrastructure. This allows keeping the AMD-specific erratum testing machinery private to amd.c and not export symbols to modules needlessly. Signed-off-by: Borislav Petkov <bp@suse.de> Link: http://lkml.kernel.org/r/1363788448-31325-6-git-send-email-bp@alien8.de Signed-off-by: H. Peter Anvin <hpa@zytor.com>
This commit is contained in:
committed by
H. Peter Anvin
parent
c5b41a6750
commit
e6ee94d58d
@ -974,7 +974,6 @@ unsigned long calc_aperfmperf_ratio(struct aperfmperf *old,
|
||||
* 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 *);
|
||||
|
||||
|
Reference in New Issue
Block a user