X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=arch%2Fx86_64%2Fkernel%2Fapic-xen.c;h=40f9fc13d5a59108d877b048787afa2a5d7e55ae;hb=80e3949c1f04888da4f1a229f053e5f2f8bcb628;hp=a805584d2382a998b94fe0604e435f77dda84e3c;hpb=1a79f0f3331294fd3a9416fcabbf24470955e314;p=linux-2.6.git diff --git a/arch/x86_64/kernel/apic-xen.c b/arch/x86_64/kernel/apic-xen.c index a805584d2..40f9fc13d 100644 --- a/arch/x86_64/kernel/apic-xen.c +++ b/arch/x86_64/kernel/apic-xen.c @@ -14,7 +14,6 @@ * Mikael Pettersson : PM converted to driver model. */ -#include #include #include @@ -175,7 +174,8 @@ asmlinkage void smp_error_interrupt(void) 6: Received illegal vector 7: Illegal register address */ - printk (KERN_DEBUG "APIC error on CPU%d: %02x(%02x)\n", + if (num_online_cpus() > 1) + printk (KERN_DEBUG "APIC error on CPU%d: %02x(%02x)\n", smp_processor_id(), v , v1); irq_exit(); }