From: Suresh Siddha Date: Fri, 27 Aug 2010 18:09:50 +0000 (-0700) Subject: x86, x2apic: Simplify apic init in SMP and UP builds X-Git-Tag: v2.6.37-rc1~198^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=fa47f7e52874683a9659df2f1f143105f676dc0f;p=pandora-kernel.git x86, x2apic: Simplify apic init in SMP and UP builds Move enable_IR_x2apic() inside the default_setup_apic_routing(), and for SMP platforms, move the default_setup_apic_routing() after smp_sanity_check(). This cleans up the code that tries to avoid multiple calls to default_setup_apic_routing() when smp_sanity_check() fails (which goes through the APIC_init_uniprocessor() path). Signed-off-by: Suresh Siddha LKML-Reference: <20100827181049.173087246@sbsiddha-MOBL3.sc.intel.com> Signed-off-by: H. Peter Anvin --- Reading git-diff-tree failed