From: Andrey Panin <pazke@donpac.ru>
To: linux-kernel@vger.kernel.org
Cc: Linus Torvalds <torvalds@transmeta.com>
Subject: [PATCH][VISWS] irqreturn_t conversion
Date: Wed, 28 May 2003 11:43:14 +0400 [thread overview]
Message-ID: <20030528074314.GD3389@pazke> (raw)
[-- Attachment #1.1: Type: text/plain, Size: 267 bytes --]
Hi all,
this small patch (against 2.5.70) updates visws_apic.c in accordance
with linux irq handling changes.
Please consider applying.
Best regards.
--
Andrey Panin | Embedded systems software developer
pazke@donpac.ru | PGP key: wwwkeys.pgp.net
[-- Attachment #1.2: patch-visws-2.5.70 --]
[-- Type: text/plain, Size: 909 bytes --]
diff -urN linux-2.5.70.vanilla/arch/i386/mach-visws/visws_apic.c linux-2.5.70/arch/i386/mach-visws/visws_apic.c
--- linux-2.5.70.vanilla/arch/i386/mach-visws/visws_apic.c 2003-05-27 14:45:25.000000000 +0400
+++ linux-2.5.70/arch/i386/mach-visws/visws_apic.c 2003-05-27 11:37:04.000000000 +0400
@@ -196,7 +196,7 @@
* enable_irq gets the right irq. This 'master' irq is never directly
* manipulated by any driver.
*/
-static void piix4_master_intr(int irq, void *dev_id, struct pt_regs * regs)
+static irqreturn_t piix4_master_intr(int irq, void *dev_id, struct pt_regs * regs)
{
int realirq;
irq_desc_t *desc;
@@ -254,11 +254,11 @@
if (!(desc->status & IRQ_DISABLED))
enable_8259A_irq(realirq);
- return;
+ return IRQ_HANDLED;
out_unlock:
spin_unlock_irqrestore(&i8259A_lock, flags);
- return;
+ return IRQ_NONE;
}
static struct irqaction master_action = {
[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]
reply other threads:[~2003-05-28 7:30 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=20030528074314.GD3389@pazke \
--to=pazke@donpac.ru \
--cc=linux-kernel@vger.kernel.org \
--cc=torvalds@transmeta.com \
/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