aboutsummaryrefslogtreecommitdiffstats
path: root/arch/x86/include/asm/mach-default
diff options
context:
space:
mode:
authorIngo Molnar <mingo@elte.hu>2009-01-28 08:59:17 -0500
committerIngo Molnar <mingo@elte.hu>2009-01-28 17:20:29 -0500
commit5b8127277bc4cdca78eda5ee900a314642822ace (patch)
tree07559a79f03be24bd5cc1df238233b2d63550c94 /arch/x86/include/asm/mach-default
parentca6c8ed4646f8ccaa4f7db618bf69b8b8fb49767 (diff)
x86, apic: refactor ->apic_id_mask & APIC_ID_MASK
- spread out the namespace on a per driver basis - get rid of wrapper macros 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_apicdef.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/arch/x86/include/asm/mach-default/mach_apicdef.h b/arch/x86/include/asm/mach-default/mach_apicdef.h
index e84d437ba2b2..8318d121ea66 100644
--- a/arch/x86/include/asm/mach-default/mach_apicdef.h
+++ b/arch/x86/include/asm/mach-default/mach_apicdef.h
@@ -4,10 +4,9 @@
4#include <asm/apic.h> 4#include <asm/apic.h>
5 5
6#ifdef CONFIG_X86_64 6#ifdef CONFIG_X86_64
7#define APIC_ID_MASK (apic->apic_id_mask)
8#define SET_APIC_ID(x) (apic->set_apic_id(x)) 7#define SET_APIC_ID(x) (apic->set_apic_id(x))
9#else 8#else
10#define APIC_ID_MASK (0xF<<24) 9#define DEFAULT_APIC_ID_MASK (0x0F<<24)
11 10
12static inline unsigned default_get_apic_id(unsigned long x) 11static inline unsigned default_get_apic_id(unsigned long x)
13{ 12{