[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-changelog] [xen-unstable] x86/ucode: don't crash during AP bringup on non-Intel, non-AMD CPUs
# HG changeset patch # User Jan Beulich <jbeulich@xxxxxxxx> # Date 1345196168 -7200 # Node ID 64017d4df9daa7a243e4f8a63057cb94efb32626 # Parent 3468a834be8d7d36e135706639c4c61965ab8116 x86/ucode: don't crash during AP bringup on non-Intel, non-AMD CPUs Signed-off-by: Jan Beulich <jbeulich@xxxxxxxx> Acked-by: Keir Fraser <keir@xxxxxxx> --- diff -r 3468a834be8d -r 64017d4df9da xen/arch/x86/microcode.c --- a/xen/arch/x86/microcode.c Thu Aug 16 17:38:05 2012 +0100 +++ b/xen/arch/x86/microcode.c Fri Aug 17 11:36:08 2012 +0200 @@ -109,6 +109,9 @@ int microcode_resume_cpu(int cpu) struct cpu_signature nsig; unsigned int cpu2; + if ( !microcode_ops ) + return 0; + spin_lock(µcode_mutex); err = microcode_ops->collect_cpu_info(cpu, &uci->cpu_sig); _______________________________________________ Xen-changelog mailing list Xen-changelog@xxxxxxxxxxxxx http://lists.xensource.com/xen-changelog
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |