]> xenbits.xensource.com Git - people/vhanquez/xen.git/commitdiff
Revert xen-unstable:23871:503ee256fecf
authorKeir Fraser <keir@xen.org>
Mon, 24 Oct 2011 17:03:35 +0000 (18:03 +0100)
committerKeir Fraser <keir@xen.org>
Mon, 24 Oct 2011 17:03:35 +0000 (18:03 +0100)
Signed-off-by: Keir Fraser <keir@xen.org>
xen/arch/x86/microcode_amd.c

index 177d660bcd2f429c7de9fec538e3f0261544a2cf..f90334439a5f31d690d58fefc2b9b263694e4fef 100644 (file)
@@ -96,7 +96,11 @@ static int microcode_fits(void *mc, int cpu)
     }
 
     if ( !equiv_cpu_id )
-           return 0;
+    {
+        printk(KERN_ERR "microcode: CPU%d cpu_id "
+               "not found in equivalent cpu table\n", cpu);
+        return -EINVAL;
+    }
 
     if ( (mc_header->processor_rev_id) != equiv_cpu_id )
     {