Re: [patch] x86, apic: use logical flat on intel with <= 8 logicalcpus
From: Daniel Walker
Date: Fri Sep 18 2009 - 22:20:03 EST
On Fri, 2009-09-18 at 19:05 -0700, Suresh Siddha wrote:
> + switch (boot_cpu_data.x86_vendor) {
> + case X86_VENDOR_INTEL:
> + if (num_processors > 8)
> + apic = &apic_physflat;
> + break;
> + case X86_VENDOR_AMD:
> + if (max_physical_apicid >= 8)
> + apic = &apic_physflat;
> + }
There are a couple of checkpatch issues in this patch .. Could you run
it through and fix the errors that show up.. One is that you need 1 less
tab for the code inside the switch statement .. You have another switch
statement in apic.c that needs similar attention .
Daniel
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/