aboutsummaryrefslogtreecommitdiffstats
path: root/arch/x86/include/asm/numaq
diff options
context:
space:
mode:
authorIngo Molnar <mingo@elte.hu>2009-01-27 23:41:42 -0500
committerIngo Molnar <mingo@elte.hu>2009-01-28 17:20:19 -0500
commitd1d7cae8fd54a301a0de531b48451649933ffdcf (patch)
tree7cbd78a527f79564adf8f3ed095e1df051e0764d /arch/x86/include/asm/numaq
parentbdb1a9b62fc182d4da3143e346f7a0925d243352 (diff)
x86, apic: clean up check_apicid*() callbacks
Clean up these methods - to make it clearer which function is used in which case. Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'arch/x86/include/asm/numaq')
-rw-r--r--arch/x86/include/asm/numaq/apic.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/arch/x86/include/asm/numaq/apic.h b/arch/x86/include/asm/numaq/apic.h
index 8ecb3b45c6c4..571fdaeafaa8 100644
--- a/arch/x86/include/asm/numaq/apic.h
+++ b/arch/x86/include/asm/numaq/apic.h
@@ -14,11 +14,12 @@ static inline const cpumask_t *numaq_target_cpus(void)
14 14
15#define NO_BALANCE_IRQ (1) 15#define NO_BALANCE_IRQ (1)
16 16
17static inline unsigned long check_apicid_used(physid_mask_t bitmap, int apicid) 17static inline unsigned long
18numaq_check_apicid_used(physid_mask_t bitmap, int apicid)
18{ 19{
19 return physid_isset(apicid, bitmap); 20 return physid_isset(apicid, bitmap);
20} 21}
21static inline unsigned long check_apicid_present(int bit) 22static inline unsigned long numaq_check_apicid_present(int bit)
22{ 23{
23 return physid_isset(bit, phys_cpu_present_map); 24 return physid_isset(bit, phys_cpu_present_map);
24} 25}