diff options
author | Ingo Molnar <mingo@elte.hu> | 2009-02-17 09:09:08 -0500 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2009-02-17 11:52:47 -0500 |
commit | b9e0d1aa9767707cad24db32d8ce0409df16d491 (patch) | |
tree | 89d79bf32b5593b8140443d99ddab8d167486161 /arch/x86/kernel/numaq_32.c | |
parent | 2c4ce18c95d632c9227ebcc6d45da11a9ef1ec70 (diff) |
x86, apic: remove apicid_cluster()
There were multiple definitions of apicid_cluster() scattered around
in APIC drivers - but the definitions are equivalent to the already
existing generic APIC_CLUSTER() method.
So remove apicid_cluster() and change all users to APIC_CLUSTER().
No code changed:
md5:
1b8244ba8d3d6a454593ce10f09dfa58 summit_32.o.before.asm
1b8244ba8d3d6a454593ce10f09dfa58 summit_32.o.after.asm
md5:
a593d98a882bf534622c70d9568497ac es7000_32.o.before.asm
a593d98a882bf534622c70d9568497ac es7000_32.o.after.asm
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'arch/x86/kernel/numaq_32.c')
-rw-r--r-- | arch/x86/kernel/numaq_32.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/arch/x86/kernel/numaq_32.c b/arch/x86/kernel/numaq_32.c index 9abaacde72eb..15328500de6e 100644 --- a/arch/x86/kernel/numaq_32.c +++ b/arch/x86/kernel/numaq_32.c | |||
@@ -375,8 +375,6 @@ static inline unsigned long numaq_check_apicid_present(int bit) | |||
375 | return physid_isset(bit, phys_cpu_present_map); | 375 | return physid_isset(bit, phys_cpu_present_map); |
376 | } | 376 | } |
377 | 377 | ||
378 | #define apicid_cluster(apicid) (apicid & 0xF0) | ||
379 | |||
380 | static inline int numaq_apic_id_registered(void) | 378 | static inline int numaq_apic_id_registered(void) |
381 | { | 379 | { |
382 | return 1; | 380 | return 1; |