From: Jan Kiszka <jan.kiszka@domain.hid>
To: adeos-main <adeos-main@gna.org>
Cc: Philippe Gerum <rpm@xenomai.org>
Subject: [Adeos-main] [PATCH 2/7] Fix initial Linux IRQ state for x86_64
Date: Thu, 26 Apr 2007 20:40:13 +0200 [thread overview]
Message-ID: <4630F20D.4000903@domain.hid> (raw)
[-- 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 --]
reply other threads:[~2007-04-26 18:40 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4630F20D.4000903@domain.hid \
--to=jan.kiszka@domain.hid \
--cc=adeos-main@gna.org \
--cc=rpm@xenomai.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.