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>
This commit is contained in:
Ingo Molnar
2009-01-28 14:08:38 +01:00
parent 9c7642470e
commit ca6c8ed464
17 changed files with 32 additions and 41 deletions

View File

@@ -189,7 +189,7 @@ static inline unsigned int read_apic_id(void)
reg = *(u32 *)(APIC_BASE + APIC_ID);
return GET_APIC_ID(reg);
return apic->get_apic_id(reg);
}
#endif