diff options
author | Ingo Molnar <mingo@elte.hu> | 2009-01-28 08:08:38 -0500 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2009-01-28 17:20:29 -0500 |
commit | ca6c8ed4646f8ccaa4f7db618bf69b8b8fb49767 (patch) | |
tree | 0d321219bba34dab2a43bad628042440cc493ed2 /arch/x86/include/asm/smp.h | |
parent | 9c7642470ecf03d8b4946a2addc8fe631b8426dd (diff) |
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/smp.h')
-rw-r--r-- | arch/x86/include/asm/smp.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/include/asm/smp.h b/arch/x86/include/asm/smp.h index 45ef8a1b9d7c..c63d480802af 100644 --- a/arch/x86/include/asm/smp.h +++ b/arch/x86/include/asm/smp.h | |||
@@ -189,7 +189,7 @@ static inline unsigned int read_apic_id(void) | |||
189 | 189 | ||
190 | reg = *(u32 *)(APIC_BASE + APIC_ID); | 190 | reg = *(u32 *)(APIC_BASE + APIC_ID); |
191 | 191 | ||
192 | return GET_APIC_ID(reg); | 192 | return apic->get_apic_id(reg); |
193 | } | 193 | } |
194 | #endif | 194 | #endif |
195 | 195 | ||