| From | Glauber de Oliveira Costa <> | Subject | [PATCH 45/79] [PATCH] fix apic acking of irqs | Date | Wed, 19 Mar 2008 14:25:40 -0300 |
| |
From: Glauber Costa <gcosta@redhat.com>
EOI is a write-only register. Using write around will have the effect of reading it, which will make all subsequent reads of the ESR register to return an error code. It was unnotices for quite a while because main sources of reading the ESR register where done prior to apic interrupt enabling.
Signed-off-by: Glauber Costa <gcosta@redhat.com> --- include/asm-x86/apic.h | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/include/asm-x86/apic.h b/include/asm-x86/apic.h index db5f750..0d6ea74 100644 --- a/include/asm-x86/apic.h +++ b/include/asm-x86/apic.h @@ -103,7 +103,7 @@ static inline void ack_APIC_irq(void) */ /* Docs say use 0 for future compatibility */ - apic_write_around(APIC_EOI, 0); + apic_write(APIC_EOI, 0); } extern int lapic_get_maxlvt(void); -- 1.5.0.6
|