diff options
Diffstat (limited to 'include/asm-x86/apic.h')
-rw-r--r-- | include/asm-x86/apic.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/include/asm-x86/apic.h b/include/asm-x86/apic.h index 423022759cb2..72bf09cf13ab 100644 --- a/include/asm-x86/apic.h +++ b/include/asm-x86/apic.h | |||
@@ -59,17 +59,17 @@ extern unsigned boot_cpu_id; | |||
59 | #define setup_secondary_clock setup_secondary_APIC_clock | 59 | #define setup_secondary_clock setup_secondary_APIC_clock |
60 | #endif | 60 | #endif |
61 | 61 | ||
62 | static inline fastcall void native_apic_write(unsigned long reg, u32 v) | 62 | static inline void native_apic_write(unsigned long reg, u32 v) |
63 | { | 63 | { |
64 | *((volatile u32 *)(APIC_BASE + reg)) = v; | 64 | *((volatile u32 *)(APIC_BASE + reg)) = v; |
65 | } | 65 | } |
66 | 66 | ||
67 | static inline fastcall void native_apic_write_atomic(unsigned long reg, u32 v) | 67 | static inline void native_apic_write_atomic(unsigned long reg, u32 v) |
68 | { | 68 | { |
69 | (void) xchg((u32*)(APIC_BASE + reg), v); | 69 | (void) xchg((u32*)(APIC_BASE + reg), v); |
70 | } | 70 | } |
71 | 71 | ||
72 | static inline fastcall u32 native_apic_read(unsigned long reg) | 72 | static inline u32 native_apic_read(unsigned long reg) |
73 | { | 73 | { |
74 | return *((volatile u32 *)(APIC_BASE + reg)); | 74 | return *((volatile u32 *)(APIC_BASE + reg)); |
75 | } | 75 | } |