aboutsummaryrefslogtreecommitdiffstats
path: root/include/asm-x86_64/apic.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/asm-x86_64/apic.h')
-rw-r--r--include/asm-x86_64/apic.h6
1 files changed, 1 insertions, 5 deletions
diff --git a/include/asm-x86_64/apic.h b/include/asm-x86_64/apic.h
index f95847acd0f0..4f6a4dc455bb 100644
--- a/include/asm-x86_64/apic.h
+++ b/include/asm-x86_64/apic.h
@@ -52,10 +52,6 @@ static __inline__ void apic_wait_icr_idle(void)
52 while ( apic_read( APIC_ICR ) & APIC_ICR_BUSY ); 52 while ( apic_read( APIC_ICR ) & APIC_ICR_BUSY );
53} 53}
54 54
55#define FORCE_READ_AROUND_WRITE 0
56#define apic_read_around(x)
57#define apic_write_around(x,y) apic_write((x),(y))
58
59static inline void ack_APIC_irq(void) 55static inline void ack_APIC_irq(void)
60{ 56{
61 /* 57 /*
@@ -66,7 +62,7 @@ static inline void ack_APIC_irq(void)
66 */ 62 */
67 63
68 /* Docs say use 0 for future compatibility */ 64 /* Docs say use 0 for future compatibility */
69 apic_write_around(APIC_EOI, 0); 65 apic_write(APIC_EOI, 0);
70} 66}
71 67
72extern int get_maxlvt (void); 68extern int get_maxlvt (void);