diff options
author | Borislav Petkov <bp@suse.de> | 2013-03-20 15:07:28 +0100 |
---|---|---|
committer | H. Peter Anvin <hpa@zytor.com> | 2013-04-02 19:12:55 +0200 |
commit | 7d7dc116e56c8a1ba4beb36d06a77a48fe5f750b (patch) | |
tree | b04350b348288b521451e859964db024017e834d /arch/x86/kernel/process.c | |
parent | x86, cpu: Convert AMD Erratum 383 (diff) | |
download | linux-7d7dc116e56c8a1ba4beb36d06a77a48fe5f750b.tar.xz linux-7d7dc116e56c8a1ba4beb36d06a77a48fe5f750b.zip |
x86, cpu: Convert AMD Erratum 400
Convert AMD erratum 400 to the bug infrastructure. Then, retract all
exports for modules since they're not needed now and make the AMD
erratum checking machinery local to amd.c. Use forward declarations to
avoid shuffling too much code around needlessly.
Signed-off-by: Borislav Petkov <bp@suse.de>
Link: http://lkml.kernel.org/r/1363788448-31325-7-git-send-email-bp@alien8.de
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
Diffstat (limited to 'arch/x86/kernel/process.c')
-rw-r--r-- | arch/x86/kernel/process.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/kernel/process.c b/arch/x86/kernel/process.c index 14ae10031ff0..e718f150c880 100644 --- a/arch/x86/kernel/process.c +++ b/arch/x86/kernel/process.c @@ -495,7 +495,7 @@ void __cpuinit select_idle_routine(const struct cpuinfo_x86 *c) if (x86_idle) return; - if (cpu_has_amd_erratum(amd_erratum_400)) { + if (cpu_has_bug(c, X86_BUG_AMD_APIC_C1E)) { /* E400: APIC timer interrupt does not wake up CPU from C1e */ pr_info("using AMD E400 aware idle routine\n"); x86_idle = amd_e400_idle; |