diff options
author | Keir Fraser <keir@xen.org> | 2011-10-24 18:04:42 +0100 |
---|---|---|
committer | Keir Fraser <keir@xen.org> | 2011-10-24 18:04:42 +0100 |
commit | 2b81c215e9c82b50453d2a50a77dd2c7ecdcb144 (patch) | |
tree | bb8de2f2cc203e10c43cba44a3ab7bc88d927f1e | |
parent | d7faa7b79ce02d2f4387d8902d6e48b2c7e8f757 (diff) | |
download | xen-2b81c215e9c82b50453d2a50a77dd2c7ecdcb144.tar.gz xen-2b81c215e9c82b50453d2a50a77dd2c7ecdcb144.tar.bz2 xen-2b81c215e9c82b50453d2a50a77dd2c7ecdcb144.zip |
Revert xen-unstable:23871:503ee256fecf
Signed-off-by: Keir Fraser <keir@xen.org>
-rw-r--r-- | xen/arch/x86/microcode_amd.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/xen/arch/x86/microcode_amd.c b/xen/arch/x86/microcode_amd.c index 9dacb32877..7cec273820 100644 --- a/xen/arch/x86/microcode_amd.c +++ b/xen/arch/x86/microcode_amd.c @@ -97,7 +97,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 ) { |