diff options
author | Suresh Siddha <suresh.b.siddha@intel.com> | 2009-01-28 17:52:57 -0800 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2009-01-29 14:16:43 +0100 |
commit | 83d7aeabe4cf20e59b5d7fd56a75cfd0e0b6b880 (patch) | |
tree | c36d2fdc574db45085917c9b61cbb8f2678c85c1 /arch/x86/include/asm/genapic.h | |
parent | 1dcdd3d15ecea0c22a09d4d001a39d425fceff2c (diff) | |
download | blackbird-op-linux-83d7aeabe4cf20e59b5d7fd56a75cfd0e0b6b880.tar.gz blackbird-op-linux-83d7aeabe4cf20e59b5d7fd56a75cfd0e0b6b880.zip |
x86: remove mach_apic.h, fix
Use apic_read() instead of open-coded mmio.
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'arch/x86/include/asm/genapic.h')
-rw-r--r-- | arch/x86/include/asm/genapic.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/include/asm/genapic.h b/arch/x86/include/asm/genapic.h index ce3655a4948d..ccfcd19d5b7d 100644 --- a/arch/x86/include/asm/genapic.h +++ b/arch/x86/include/asm/genapic.h @@ -145,7 +145,7 @@ static inline unsigned int read_apic_id(void) { unsigned int reg; - reg = *(u32 *)(APIC_BASE + APIC_ID); + reg = apic_read(APIC_ID); return apic->get_apic_id(reg); } |