diff options
author | Andi Kleen <ak@suse.de> | 2006-01-11 16:46:51 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-01-11 22:05:03 -0500 |
commit | 11a8e778c46ee76fc46b0a7fa9d455b5a8e3e19f (patch) | |
tree | 2e6d19e5fbb9d686448868bc087673e696b5b4be /include/asm-x86_64 | |
parent | 5f1d189f8a87930d62c507800a8ac20b9a185e41 (diff) |
[PATCH] x86_64: Some housekeeping in local APIC code
Remove support for obsolete hardware and cleanup.
- Remove checks for non integrated APICs
- Replace apic_write_around with apic_write.
- Remove apic_read_around
- Remove APIC version reads used by old workarounds
- Remove old workaround for Simics
- Fix indentation
Signed-off-by: Andi Kleen <ak@suse.de>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'include/asm-x86_64')
-rw-r--r-- | include/asm-x86_64/apic.h | 6 |
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 | |||
59 | static inline void ack_APIC_irq(void) | 55 | static 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 | ||
72 | extern int get_maxlvt (void); | 68 | extern int get_maxlvt (void); |