diff options
author | Ingo Molnar <mingo@elte.hu> | 2009-01-28 01:17:26 -0500 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2009-01-28 17:20:22 -0500 |
commit | 33a201fac698a93d9d1ffa77030ba2ff38d1a3d1 (patch) | |
tree | c1087d996f5d83f987e83380f27aa73c7aaa0871 /arch/x86/include/asm/mach-default | |
parent | 72ce016583916fb7ffcbaa6a3e1f8f731b79a865 (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/include/asm/mach-default')
-rw-r--r-- | arch/x86/include/asm/mach-default/mach_apic.h | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/arch/x86/include/asm/mach-default/mach_apic.h b/arch/x86/include/asm/mach-default/mach_apic.h index d44677463046..f418d470cf45 100644 --- a/arch/x86/include/asm/mach-default/mach_apic.h +++ b/arch/x86/include/asm/mach-default/mach_apic.h | |||
@@ -104,11 +104,6 @@ static inline physid_mask_t default_ioapic_phys_id_map(physid_mask_t phys_map) | |||
104 | return phys_map; | 104 | return phys_map; |
105 | } | 105 | } |
106 | 106 | ||
107 | static inline int multi_timer_check(int apic, int irq) | ||
108 | { | ||
109 | return 0; | ||
110 | } | ||
111 | |||
112 | /* Mapping from cpu number to logical apicid */ | 107 | /* Mapping from cpu number to logical apicid */ |
113 | static inline int cpu_to_logical_apicid(int cpu) | 108 | static inline int cpu_to_logical_apicid(int cpu) |
114 | { | 109 | { |