lkml.org 
[lkml]   [2003]   [May]   [28]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
Subject[PATCH][VISWS] irqreturn_t conversion
From
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
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 = {[unhandled content-type:application/pgp-signature]
\
 
 \ /
  Last update: 2005-03-22 13:35    [W:0.139 / U:0.028 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site