mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Bernhard Walle <bwalle@suse.de>
To: akpm@linux-foundation.org
Cc: linux-kernel@vger.kernel.org, Thomas Gleixner <tglx@linutronix.de>
Subject: [patch 5/7] Add IRQF_IRQPOLL flag on sh
Date: Tue, 27 Mar 2007 22:22:39 +0200	[thread overview]
Message-ID: <20070327204729.258160000@strauss.suse.de> (raw)
In-Reply-To: <20070327202234.639415000@strauss.suse.de>

[-- Attachment #1: add-irqf_irqpoll-flag-on-sh.patch --]
[-- Type: text/plain, Size: 1894 bytes --]

Add IRQF_IRQPOLL on each timer interrupt on SH2.

Signed-off-by: Bernhard Walle <bwalle@suse.de>
---
 arch/sh/kernel/timers/timer-cmt.c  |    2 +-
 arch/sh/kernel/timers/timer-mtu2.c |    2 +-
 arch/sh/kernel/timers/timer-tmu.c  |    2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)

Index: linux-2.6.21-rc5-mm2/arch/sh/kernel/timers/timer-cmt.c
===================================================================
--- linux-2.6.21-rc5-mm2.orig/arch/sh/kernel/timers/timer-cmt.c
+++ linux-2.6.21-rc5-mm2/arch/sh/kernel/timers/timer-cmt.c
@@ -115,7 +115,7 @@ static irqreturn_t cmt_timer_interrupt(i
 static struct irqaction cmt_irq = {
 	.name		= "timer",
 	.handler	= cmt_timer_interrupt,
-	.flags		= IRQF_DISABLED | IRQF_TIMER,
+	.flags		= IRQF_DISABLED | IRQF_TIMER | IRQF_IRQPOLL,
 	.mask		= CPU_MASK_NONE,
 };
 
Index: linux-2.6.21-rc5-mm2/arch/sh/kernel/timers/timer-mtu2.c
===================================================================
--- linux-2.6.21-rc5-mm2.orig/arch/sh/kernel/timers/timer-mtu2.c
+++ linux-2.6.21-rc5-mm2/arch/sh/kernel/timers/timer-mtu2.c
@@ -110,7 +110,7 @@ static irqreturn_t mtu2_timer_interrupt(
 static struct irqaction mtu2_irq = {
 	.name		= "timer",
 	.handler	= mtu2_timer_interrupt,
-	.flags		= IRQF_DISABLED | IRQF_TIMER,
+	.flags		= IRQF_DISABLED | IRQF_TIMER | IRQF_IRQPOLL,
 	.mask		= CPU_MASK_NONE,
 };
 
Index: linux-2.6.21-rc5-mm2/arch/sh/kernel/timers/timer-tmu.c
===================================================================
--- linux-2.6.21-rc5-mm2.orig/arch/sh/kernel/timers/timer-tmu.c
+++ linux-2.6.21-rc5-mm2/arch/sh/kernel/timers/timer-tmu.c
@@ -99,7 +99,7 @@ static irqreturn_t tmu_timer_interrupt(i
 static struct irqaction tmu_irq = {
 	.name		= "timer",
 	.handler	= tmu_timer_interrupt,
-	.flags		= IRQF_DISABLED | IRQF_TIMER,
+	.flags		= IRQF_DISABLED | IRQF_TIMER | IRQF_IRQPOLL,
 	.mask		= CPU_MASK_NONE,
 };
 

-- 

  parent reply	other threads:[~2007-03-27 20:48 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-03-27 20:22 [patch 0/7] Add IRQF_IRQPOLL flag to allow irqpoll Bernhard Walle
2007-03-27 20:22 ` [patch 1/7] Add IRQF_IRQPOLL flag (common code) Bernhard Walle
2007-03-27 20:22 ` [patch 2/7] Add IRQF_IRQPOLL flag on x86_64 Bernhard Walle
2007-03-27 20:22 ` [patch 3/7] Add IRQF_IRQPOLL flag on i386 Bernhard Walle
2007-03-27 20:22 ` [patch 4/7] Add IRQF_IRQPOLL flag on IA64 Bernhard Walle
2007-03-27 20:22 ` Bernhard Walle [this message]
2007-03-27 20:22 ` [patch 6/7] Add IRQF_IRQPOLL flag on parisc Bernhard Walle
2007-03-27 20:22 ` [patch 7/7] Add IRQF_IRQPOLL flag on arm Bernhard Walle

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=20070327204729.258160000@strauss.suse.de \
    --to=bwalle@suse.de \
    --cc=akpm@linux-foundation.org \
    --cc=linux-kernel@vger.kernel.org \
    --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

all inboxes | Powered by JetHome®