diff options
author | Ingo Molnar <mingo@elte.hu> | 2009-01-28 14:08:38 +0100 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2009-01-28 23:20:29 +0100 |
commit | ca6c8ed4646f8ccaa4f7db618bf69b8b8fb49767 (patch) | |
tree | 0d321219bba34dab2a43bad628042440cc493ed2 /arch/x86/include/asm/mach-default/mach_apic.h | |
parent | 9c7642470ecf03d8b4946a2addc8fe631b8426dd (diff) | |
download | linux-stable-ca6c8ed4646f8ccaa4f7db618bf69b8b8fb49767.tar.gz linux-stable-ca6c8ed4646f8ccaa4f7db618bf69b8b8fb49767.tar.bz2 linux-stable-ca6c8ed4646f8ccaa4f7db618bf69b8b8fb49767.zip |
x86, apic: refactor ->get_apic_id() & GET_APIC_ID()
- spread out the namespace on a per driver basis
- get rid of macro wrappers
- small cleanups
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'arch/x86/include/asm/mach-default/mach_apic.h')
-rw-r--r-- | arch/x86/include/asm/mach-default/mach_apic.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/include/asm/mach-default/mach_apic.h b/arch/x86/include/asm/mach-default/mach_apic.h index d0605281a6b7..8719208f2735 100644 --- a/arch/x86/include/asm/mach-default/mach_apic.h +++ b/arch/x86/include/asm/mach-default/mach_apic.h @@ -21,7 +21,7 @@ static inline const struct cpumask *default_target_cpus(void) #include <asm/genapic.h> #define cpu_mask_to_apicid (apic->cpu_mask_to_apicid) #define cpu_mask_to_apicid_and (apic->cpu_mask_to_apicid_and) -#define read_apic_id() (GET_APIC_ID(apic_read(APIC_ID))) +#define read_apic_id() (apic->get_apic_id(apic_read(APIC_ID))) #define send_IPI_self (apic->send_IPI_self) #define wakeup_secondary_cpu (apic->wakeup_cpu) extern void default_setup_apic_routing(void); |