aboutsummaryrefslogtreecommitdiffstats
path: root/arch/x86/mach-generic/default.c
diff options
context:
space:
mode:
authorIngo Molnar <mingo@elte.hu>2009-01-28 01:17:26 -0500
committerIngo Molnar <mingo@elte.hu>2009-01-28 17:20:22 -0500
commit33a201fac698a93d9d1ffa77030ba2ff38d1a3d1 (patch)
treec1087d996f5d83f987e83380f27aa73c7aaa0871 /arch/x86/mach-generic/default.c
parent72ce016583916fb7ffcbaa6a3e1f8f731b79a865 (diff)
x86, apic: streamline the ->multi_timer_check() quirk
only NUMAQ uses this quirk: to prevent the timer IRQ from being added on secondary nodes. All other genapic templates can have a NULL ->multi_timer_check() callback. Also, extend the generic code to treat a NULL pointer accordingly. Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'arch/x86/mach-generic/default.c')
-rw-r--r--arch/x86/mach-generic/default.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/mach-generic/default.c b/arch/x86/mach-generic/default.c
index 67f287fc12df..6a21aa7c0c6d 100644
--- a/arch/x86/mach-generic/default.c
+++ b/arch/x86/mach-generic/default.c
@@ -60,7 +60,7 @@ struct genapic apic_default = {
60 60
61 .ioapic_phys_id_map = default_ioapic_phys_id_map, 61 .ioapic_phys_id_map = default_ioapic_phys_id_map,
62 .setup_apic_routing = default_setup_apic_routing, 62 .setup_apic_routing = default_setup_apic_routing,
63 .multi_timer_check = multi_timer_check, 63 .multi_timer_check = NULL,
64 .apicid_to_node = apicid_to_node, 64 .apicid_to_node = apicid_to_node,
65 .cpu_to_logical_apicid = cpu_to_logical_apicid, 65 .cpu_to_logical_apicid = cpu_to_logical_apicid,
66 .cpu_present_to_apicid = cpu_present_to_apicid, 66 .cpu_present_to_apicid = cpu_present_to_apicid,