]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/blobdiff - arch/x86/kernel/cpu/microcode/amd.c
x86/microcode: Run the AP-loading routine only on the application processors
[mirror_ubuntu-artful-kernel.git] / arch / x86 / kernel / cpu / microcode / amd.c
index 620ab06bcf4571c8841b70e35a57657dda2e9985..6b3929e80fd44be3cb55f66c6b93315ec4726d32 100644 (file)
@@ -357,17 +357,12 @@ static void __init get_bsp_sig(void)
 #else
 void load_ucode_amd_ap(void)
 {
-       unsigned int cpu = smp_processor_id();
        struct equiv_cpu_entry *eq;
        struct microcode_amd *mc;
        u8 *cont = container;
        u32 rev, eax;
        u16 eq_id;
 
-       /* Exit if called on the BSP. */
-       if (!cpu)
-               return;
-
        if (!container)
                return;