[RFC][patch 36/44] PARISC: Use the new IRQF_ constansts

From: Thomas Gleixner
Date: Sat Jul 01 2006 - 11:06:14 EST



Use the new IRQF_ constants and remove the SA_INTERRUPT define

Signed-off-by: Thomas Gleixner <tglx@xxxxxxxxxxxxx>
drivers/parisc/eisa.c | 2 +-
drivers/parisc/superio.c | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)

Index: linux-2.6.git/drivers/parisc/eisa.c
===================================================================
--- linux-2.6.git.orig/drivers/parisc/eisa.c 2006-07-01 16:51:13.000000000 +0200
+++ linux-2.6.git/drivers/parisc/eisa.c 2006-07-01 16:51:46.000000000 +0200
@@ -340,7 +340,7 @@ static int __devinit eisa_probe(struct p
}
pcibios_register_hba(&eisa_dev.hba);

- result = request_irq(dev->irq, eisa_irq, SA_SHIRQ, "EISA", &eisa_dev);
+ result = request_irq(dev->irq, eisa_irq, IRQF_SHARED, "EISA", &eisa_dev);
if (result) {
printk(KERN_ERR "EISA: request_irq failed!\n");
return result;
Index: linux-2.6.git/drivers/parisc/superio.c
===================================================================
--- linux-2.6.git.orig/drivers/parisc/superio.c 2006-07-01 16:51:13.000000000 +0200
+++ linux-2.6.git/drivers/parisc/superio.c 2006-07-01 16:51:46.000000000 +0200
@@ -271,7 +271,7 @@ superio_init(struct pci_dev *pcidev)
else
printk(KERN_ERR PFX "USB regulator not initialized!\n");

- if (request_irq(pdev->irq, superio_interrupt, SA_INTERRUPT,
+ if (request_irq(pdev->irq, superio_interrupt, IRQF_DISABLED,
SUPERIO, (void *)sio)) {

printk(KERN_ERR PFX "could not get irq\n");

--

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/