From: Alexander Nyberg <alexn@dsv.su.se>
To: torvalds@osdl.org
Cc: ak@suse.de, linux-kernel@vger.kernel.org
Subject: [PATCH] x86_64: assign_irq_vector should not be marked __init
Date: Sun, 14 Nov 2004 14:26:50 +0100 [thread overview]
Message-ID: <1100438810.717.12.camel@boxen> (raw)
Hej Linus
This box crashed at startup today and I noticed that some modules will
need to have assign_irq_vector() available although it is marked as __init.
Looks like it was done for i386 in but not x86_64...
Signed off by: Alexander Nyberg <alexn@dsv.su.se>
===== arch/x86_64/kernel/io_apic.c 1.38 vs edited =====
--- 1.38/arch/x86_64/kernel/io_apic.c 2004-10-28 09:39:50 +02:00
+++ edited/arch/x86_64/kernel/io_apic.c 2004-11-14 14:03:50 +01:00
@@ -654,11 +654,7 @@
/* irq_vectors is indexed by the sum of all RTEs in all I/O APICs. */
u8 irq_vector[NR_IRQ_VECTORS] = { FIRST_DEVICE_VECTOR , 0 };
-#ifdef CONFIG_PCI_MSI
int assign_irq_vector(int irq)
-#else
-int __init assign_irq_vector(int irq)
-#endif
{
static int current_vector = FIRST_DEVICE_VECTOR, offset = 0;
next reply other threads:[~2004-11-14 13:27 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-11-14 13:26 Alexander Nyberg [this message]
2004-11-14 21:05 ` [PATCH] x86_64: assign_irq_vector should not be marked __init Andi Kleen
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=1100438810.717.12.camel@boxen \
--to=alexn@dsv.su.se \
--cc=ak@suse.de \
--cc=linux-kernel@vger.kernel.org \
--cc=torvalds@osdl.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox