diff options
author | Ingo Molnar <mingo@elte.hu> | 2009-01-28 14:59:17 +0100 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2009-01-28 23:20:29 +0100 |
commit | 5b8127277bc4cdca78eda5ee900a314642822ace (patch) | |
tree | 07559a79f03be24bd5cc1df238233b2d63550c94 /arch/x86/include/asm/mach-default/mach_apicdef.h | |
parent | ca6c8ed4646f8ccaa4f7db618bf69b8b8fb49767 (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/mach_apicdef.h')
-rw-r--r-- | arch/x86/include/asm/mach-default/mach_apicdef.h | 3 |
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 e84d437ba2b..8318d121ea6 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 @@ #include <asm/apic.h> #ifdef CONFIG_X86_64 -#define APIC_ID_MASK (apic->apic_id_mask) #define SET_APIC_ID(x) (apic->set_apic_id(x)) #else -#define APIC_ID_MASK (0xF<<24) +#define DEFAULT_APIC_ID_MASK (0x0F<<24) static inline unsigned default_get_apic_id(unsigned long x) { |