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:
@@ -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
|
||||
|
||||
|
Reference in New Issue
Block a user