public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH][VISWS] irqreturn_t conversion
@ 2003-05-28  7:43 Andrey Panin
  0 siblings, 0 replies; only message in thread
From: Andrey Panin @ 2003-05-28  7:43 UTC (permalink / raw)
  To: linux-kernel; +Cc: Linus Torvalds


[-- 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 --]

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2003-05-28  7:30 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-05-28  7:43 [PATCH][VISWS] irqreturn_t conversion Andrey Panin

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox