diff options
-rw-r--r-- | include/asm-x86_64/apic.h | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/include/asm-x86_64/apic.h b/include/asm-x86_64/apic.h index 1768ce719156..f95847acd0f0 100644 --- a/include/asm-x86_64/apic.h +++ b/include/asm-x86_64/apic.h | |||
@@ -42,11 +42,6 @@ static __inline void apic_write(unsigned long reg, unsigned int v) | |||
42 | *((volatile unsigned int *)(APIC_BASE+reg)) = v; | 42 | *((volatile unsigned int *)(APIC_BASE+reg)) = v; |
43 | } | 43 | } |
44 | 44 | ||
45 | static __inline void apic_write_atomic(unsigned long reg, unsigned int v) | ||
46 | { | ||
47 | xchg((volatile unsigned int *)(APIC_BASE+reg), v); | ||
48 | } | ||
49 | |||
50 | static __inline unsigned int apic_read(unsigned long reg) | 45 | static __inline unsigned int apic_read(unsigned long reg) |
51 | { | 46 | { |
52 | return *((volatile unsigned int *)(APIC_BASE+reg)); | 47 | return *((volatile unsigned int *)(APIC_BASE+reg)); |