From: Bernhard Walle <bwalle@suse.de>
To: Andrew Morton <akpm@linuxfoundation.org>
Cc: linux-kernel@vger.kernel.org,
Thomas Gleixner <tglx@linutronix.de>, Ingo Molnar <mingo@elte.hu>,
Andi Kleen <ak@suse.de>
Subject: [patch 7/7] Add IRQF_IRQPOLL_IRQ flag on i386
Date: Fri, 23 Mar 2007 17:44:54 +0100 [thread overview]
Message-ID: <20070323190113.772015000@strauss.suse.de> (raw)
In-Reply-To: <20070323164447.659982000@strauss.suse.de>
[-- Attachment #1: IRQF_IRQPOLL_IRQ-i386 --]
[-- Type: text/plain, Size: 1898 bytes --]
Add IRQF_IRQPOLL_IRQ to timer interrupts on i386.
Signed-off-by: Bernhard Walle <bwalle@suse.de>
Cc: Andi Kleen <ak@suse.de>
---
arch/i386/mach-default/setup.c | 2 +-
arch/i386/mach-visws/setup.c | 2 +-
arch/i386/mach-voyager/setup.c | 7 ++++++-
3 files changed, 8 insertions(+), 3 deletions(-)
Index: linux-2.6.21-rc4-mm1/arch/i386/mach-default/setup.c
===================================================================
--- linux-2.6.21-rc4-mm1.orig/arch/i386/mach-default/setup.c
+++ linux-2.6.21-rc4-mm1/arch/i386/mach-default/setup.c
@@ -81,7 +81,7 @@ void __init trap_init_hook(void)
static struct irqaction irq0 = {
.handler = timer_interrupt,
- .flags = IRQF_DISABLED | IRQF_NOBALANCING,
+ .flags = IRQF_DISABLED | IRQF_NOBALANCING | IRQF_IRQPOLL_IRQ,
.mask = CPU_MASK_NONE,
.name = "timer"
};
Index: linux-2.6.21-rc4-mm1/arch/i386/mach-visws/setup.c
===================================================================
--- linux-2.6.21-rc4-mm1.orig/arch/i386/mach-visws/setup.c
+++ linux-2.6.21-rc4-mm1/arch/i386/mach-visws/setup.c
@@ -116,7 +116,7 @@ void __init pre_setup_arch_hook()
static struct irqaction irq0 = {
.handler = timer_interrupt,
- .flags = IRQF_DISABLED,
+ .flags = IRQF_DISABLED | IRQF_IRQPOLL_IRQ,
.name = "timer",
};
Index: linux-2.6.21-rc4-mm1/arch/i386/mach-voyager/setup.c
===================================================================
--- linux-2.6.21-rc4-mm1.orig/arch/i386/mach-voyager/setup.c
+++ linux-2.6.21-rc4-mm1/arch/i386/mach-voyager/setup.c
@@ -40,7 +40,12 @@ void __init trap_init_hook(void)
{
}
-static struct irqaction irq0 = { timer_interrupt, IRQF_DISABLED, CPU_MASK_NONE, "timer", NULL, NULL};
+static struct irqaction irq0 = {
+ .handler = timer_interrupt,
+ .flags = IRQF_DISABLED | IRQF_IRQPOLL_IRQ,
+ .mask = CPU_MASK_NONE,
+ .name = "timer"
+};
void __init time_init_hook(void)
{
--
next prev parent reply other threads:[~2007-03-23 19:02 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-03-23 16:44 [patch 0/7] Add IRQF_IRQPOLL_IRQ flag to allow irqpoll Bernhard Walle
2007-03-23 16:44 ` [patch 1/7] Add IRQF_IRQPOLL_IRQ flag (common code) Bernhard Walle
2007-03-23 16:44 ` [patch 2/7] Add IRQF_IRQPOLL_IRQ flag on IA64 Bernhard Walle
2007-03-23 16:44 ` [patch 3/7] Add IRQF_IRQPOLL_IRQ flag on x86_64 Bernhard Walle
2007-03-23 16:44 ` [patch 4/7] Add IRQF_IRQPOLL_IRQ flag on arm Bernhard Walle
2007-03-23 16:44 ` [patch 5/7] Add IRQF_IRQPOLL_IRQ flag on sh Bernhard Walle
2007-03-23 16:44 ` [patch 6/7] Add IRQF_IRQPOLL_IRQ flag on parisc Bernhard Walle
2007-03-23 16:44 ` Bernhard Walle [this message]
2007-03-23 22:15 ` [patch 0/7] Add IRQF_IRQPOLL_IRQ flag to allow irqpoll Guennadi Liakhovetski
2007-03-23 22:25 ` Bernhard Walle
2007-03-23 23:21 ` Guennadi Liakhovetski
2007-03-25 20:29 ` Bernhard Walle
2007-03-27 5:01 ` Guennadi Liakhovetski
2007-03-27 5:16 ` Andrew Morton
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=20070323190113.772015000@strauss.suse.de \
--to=bwalle@suse.de \
--cc=ak@suse.de \
--cc=akpm@linuxfoundation.org \
--cc=linux-kernel@vger.kernel.org \
--cc=mingo@elte.hu \
--cc=tglx@linutronix.de \
/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
Powered by JetHome