All of lore.kernel.org
 help / color / mirror / Atom feed
* [Adeos-main] [PATCH 2/7] Fix initial Linux IRQ state for x86_64
@ 2007-04-26 18:40 Jan Kiszka
  0 siblings, 0 replies; only message in thread
From: Jan Kiszka @ 2007-04-26 18:40 UTC (permalink / raw)
  To: adeos-main; +Cc: Philippe Gerum


[-- Attachment #1.1: Type: text/plain, Size: 145 bytes --]

Philippe, this is the solution for the BUG I posted privately. Not sure
if we need the first hunk, but the second is mandatory for SMP.

Jan

[-- Attachment #1.2: fix-x86_64-init-irq-enable.patch --]
[-- Type: text/plain, Size: 765 bytes --]

---
 arch/x86_64/kernel/apic.c |    2 ++
 1 file changed, 2 insertions(+)

Index: linux-2.6.20-x64/arch/x86_64/kernel/apic.c
===================================================================
--- linux-2.6.20-x64.orig/arch/x86_64/kernel/apic.c
+++ linux-2.6.20-x64/arch/x86_64/kernel/apic.c
@@ -875,6 +875,7 @@ void __init setup_boot_APIC_clock (void)
 	setup_APIC_timer(calibration_result);
 
 	local_irq_enable_hw();
+	local_irq_enable();
 }
 
 void __cpuinit setup_secondary_APIC_clock(void)
@@ -882,6 +883,7 @@ void __cpuinit setup_secondary_APIC_cloc
 	local_irq_disable_hw(); /* FIXME: Do we need this? --RR */
 	setup_APIC_timer(calibration_result);
 	local_irq_enable_hw();
+	local_irq_enable();
 }
 
 void disable_APIC_timer(void)

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 250 bytes --]

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2007-04-26 18:40 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-04-26 18:40 [Adeos-main] [PATCH 2/7] Fix initial Linux IRQ state for x86_64 Jan Kiszka

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.