aboutsummaryrefslogtreecommitdiffstats
path: root/arch/x86/kernel/cpu/microcode
diff options
context:
space:
mode:
Diffstat (limited to 'arch/x86/kernel/cpu/microcode')
-rw-r--r--arch/x86/kernel/cpu/microcode/amd.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/arch/x86/kernel/cpu/microcode/amd.c b/arch/x86/kernel/cpu/microcode/amd.c
index 9f5ccef33fba..f66cbfe74ce4 100644
--- a/arch/x86/kernel/cpu/microcode/amd.c
+++ b/arch/x86/kernel/cpu/microcode/amd.c
@@ -431,10 +431,6 @@ int __init save_microcode_in_initrd_amd(void)
431 else 431 else
432 container = cont_va; 432 container = cont_va;
433 433
434 if (ucode_new_rev)
435 pr_info_once("microcode updated early to new patch_level=0x%08x\n",
436 ucode_new_rev);
437
438 eax = cpuid_eax(0x00000001); 434 eax = cpuid_eax(0x00000001);
439 eax = ((eax >> 8) & 0xf) + ((eax >> 20) & 0xff); 435 eax = ((eax >> 8) & 0xf) + ((eax >> 20) & 0xff);
440 436
@@ -956,6 +952,10 @@ struct microcode_ops * __init init_amd_microcode(void)
956 return NULL; 952 return NULL;
957 } 953 }
958 954
955 if (ucode_new_rev)
956 pr_info_once("microcode updated early to new patch_level=0x%08x\n",
957 ucode_new_rev);
958
959 return &microcode_amd_ops; 959 return &microcode_amd_ops;
960} 960}
961 961