From: Ralf Baechle <ralf@linux-mips.org>
To: Rob Landley <rob@landley.net>
Cc: linux-kernel@vger.kernel.org, linux-mips@vger.kernel.org
Subject: [PATCH 2/2] MIPS: Mark all but i8259 interrupts as no-probe.
Date: Tue, 29 Jan 2008 11:21:20 +0000 [thread overview]
Message-ID: <20080129112120.GB8665@linux-mips.org> (raw)
In-Reply-To: <20080129112048.GA8665@linux-mips.org>
Use set_irq_noprobe() to mark all MIPS interrupts as non-probe. Override
that default for i8259 interrupts.
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/kernel/i8259.c | 4 +++-
arch/mips/kernel/irq.c | 5 +++++
2 files changed, 8 insertions(+), 1 deletion(-)
Index: linux-mips/arch/mips/kernel/i8259.c
===================================================================
--- linux-mips.orig/arch/mips/kernel/i8259.c
+++ linux-mips/arch/mips/kernel/i8259.c
@@ -338,8 +338,10 @@ void __init init_i8259_irqs(void)
init_8259A(0);
- for (i = I8259A_IRQ_BASE; i < I8259A_IRQ_BASE + 16; i++)
+ for (i = I8259A_IRQ_BASE; i < I8259A_IRQ_BASE + 16; i++) {
set_irq_chip_and_handler(i, &i8259A_chip, handle_level_irq);
+ set_irq_probe(i);
+ }
setup_irq(I8259A_IRQ_BASE + PIC_CASCADE_IR, &irq2);
}
Index: linux-mips/arch/mips/kernel/irq.c
===================================================================
--- linux-mips.orig/arch/mips/kernel/irq.c
+++ linux-mips/arch/mips/kernel/irq.c
@@ -145,6 +145,11 @@ __setup("nokgdb", nokgdb);
void __init init_IRQ(void)
{
+ int i;
+
+ for (i = 0; i < NR_IRQS; i++)
+ set_irq_noprobe(i);
+
arch_init_irq();
#ifdef CONFIG_KGDB
next prev parent reply other threads:[~2008-01-29 11:21 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-01-28 8:17 2.6.24 panics initializing ne2k in mips Rob Landley
2008-01-29 5:51 ` Rob Landley
2008-01-29 11:16 ` Ralf Baechle
2008-01-29 11:20 ` [PATCH 1/2] IRQ_NOPROBE helper functions Ralf Baechle
2008-01-29 11:21 ` Ralf Baechle [this message]
2008-01-31 7:56 ` Rob Landley
2008-02-22 14:17 ` 2.6.24 panics initializing ne2k in mips Samuel Masham
2008-02-22 22:19 ` Rob Landley
2008-02-23 7:56 ` Samuel Masham
2008-02-23 21:43 ` Rob Landley
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=20080129112120.GB8665@linux-mips.org \
--to=ralf@linux-mips.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-mips@vger.kernel.org \
--cc=rob@landley.net \
/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