aboutsummaryrefslogtreecommitdiffstats
path: root/arch/x86/include/asm/bigsmp
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/bigsmp
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/bigsmp')
-rw-r--r--arch/x86/include/asm/bigsmp/apic.h9
1 files changed, 5 insertions, 4 deletions
diff --git a/arch/x86/include/asm/bigsmp/apic.h b/arch/x86/include/asm/bigsmp/apic.h
index 7e6e33a6db02..bd52d4d86f0e 100644
--- a/arch/x86/include/asm/bigsmp/apic.h
+++ b/arch/x86/include/asm/bigsmp/apic.h
@@ -20,14 +20,15 @@ static inline const cpumask_t *bigsmp_target_cpus(void)
20#define APIC_DFR_VALUE (APIC_DFR_FLAT) 20#define APIC_DFR_VALUE (APIC_DFR_FLAT)
21#define NO_BALANCE_IRQ (0) 21#define NO_BALANCE_IRQ (0)
22 22
23static inline unsigned long check_apicid_used(physid_mask_t bitmap, int apicid) 23static inline unsigned long
24bigsmp_check_apicid_used(physid_mask_t bitmap, int apicid)
24{ 25{
25 return (0); 26 return 0;
26} 27}
27 28
28static inline unsigned long check_apicid_present(int bit) 29static inline unsigned long bigsmp_check_apicid_present(int bit)
29{ 30{
30 return (1); 31 return 1;
31} 32}
32 33
33static inline unsigned long calculate_ldr(int cpu) 34static inline unsigned long calculate_ldr(int cpu)