public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] x86: Don't ack_APIC_irq() if lapic is disabled in GENERIC_INTERRUPT_VECTOR handler
@ 2009-09-08  9:52 Sheng Yang
  2009-09-20 18:06 ` Ingo Molnar
  0 siblings, 1 reply; 8+ messages in thread
From: Sheng Yang @ 2009-09-08  9:52 UTC (permalink / raw)
  To: Ingo Molnar; +Cc: linux-kernel, Sheng Yang, Dimitri Sivanich

Otherwise would cause trouble...

Cc: Dimitri Sivanich <sivanich@sgi.com>
Signed-off-by: Sheng Yang <sheng@linux.intel.com>
---
 arch/x86/kernel/irq.c |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/arch/x86/kernel/irq.c b/arch/x86/kernel/irq.c
index b0cdde6..78b23d0 100644
--- a/arch/x86/kernel/irq.c
+++ b/arch/x86/kernel/irq.c
@@ -257,7 +257,8 @@ void smp_generic_interrupt(struct pt_regs *regs)
 {
 	struct pt_regs *old_regs = set_irq_regs(regs);
 
-	ack_APIC_irq();
+	if (!disable_apic)
+		ack_APIC_irq();
 
 	exit_idle();
 
-- 
1.5.4.5


^ permalink raw reply related	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2009-09-20 19:07 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-09-08  9:52 [PATCH] x86: Don't ack_APIC_irq() if lapic is disabled in GENERIC_INTERRUPT_VECTOR handler Sheng Yang
2009-09-20 18:06 ` Ingo Molnar
2009-09-20 18:13   ` Cyrill Gorcunov
2009-09-20 18:21     ` Ingo Molnar
2009-09-20 18:30       ` Cyrill Gorcunov
2009-09-20 18:42         ` Cyrill Gorcunov
2009-09-20 18:49           ` Cyrill Gorcunov
2009-09-20 19:07             ` Sheng Yang

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox