[PATCH][VISWS] irqreturn_t conversion

Andrey Panin (pazke@donpac.ru)
Wed, 28 May 2003 11:43:14 +0400


This is a MIME-formatted message. If you see this text it means that your
E-mail software does not support MIME-formatted messages.

--=_courier-21432-1054107846-0001-2
Content-Type: multipart/mixed; boundary="Yylu36WmvOXNoKYn"
Content-Disposition: inline

--Yylu36WmvOXNoKYn
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

Hi all,

this small patch (against 2.5.70) updates visws_apic.c in accordance=20
with linux irq handling changes.

Please consider applying.

Best regards.

--=20
Andrey Panin | Embedded systems software developer
pazke@donpac.ru | PGP key: wwwkeys.pgp.net

--Yylu36WmvOXNoKYn
Content-Type: text/plain; charset=us-ascii
Content-Disposition: attachment; filename="patch-visws-2.5.70"
Content-Transfer-Encoding: quoted-printable

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.0000=
00000 +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);
=20
- return;
+ return IRQ_HANDLED;
=20
out_unlock:
spin_unlock_irqrestore(&i8259A_lock, flags);
- return;
+ return IRQ_NONE;
}
=20
static struct irqaction master_action =3D {

--Yylu36WmvOXNoKYn--

--=_courier-21432-1054107846-0001-2
Content-Type: application/pgp-signature
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)

iD8DBQE+1GiSby9O0+A2ZecRAp7CAKC1llo0RDANolvnIgw/3dv0Mt9SEACdFJw2
MzKDGz6Hb0glSk8CneKtzvQ=
=Hsrn
-----END PGP SIGNATURE-----

--=_courier-21432-1054107846-0001-2--