mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 03:01:39 -04:00
[PATCH] Scheduled removal of SA_xxx interrupt flags fixups
The obsolete SA_xxx interrupt flags have been used despite the scheduled removal. Fixup the remaining users. Signed-off-by: Thomas Gleixner <[email protected]> Acked-by: Ingo Molnar <[email protected]> Cc: "Luck, Tony" <[email protected]> Cc: Roman Zippel <[email protected]> Cc: Geert Uytterhoeven <[email protected]> Cc: Jeff Garzik <[email protected]> Cc: Wim Van Sebroeck <[email protected]> Cc: Roland Dreier <[email protected]> Cc: Alessandro Zummo <[email protected]> Cc: James Bottomley <[email protected]> Cc: Greg KH <[email protected]> Cc: Dave Airlie <[email protected]> Cc: James Simmons <[email protected]> Cc: "Antonino A. Daplas" <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
This commit is contained in:
parent
3159f06dc2
commit
38515e908b
29 changed files with 39 additions and 38 deletions
|
|
@ -500,7 +500,7 @@ int lance_open (struct net_device *dev)
|
|||
int res;
|
||||
|
||||
/* Install the Interrupt handler. Or we could shunt this out to specific drivers? */
|
||||
if (request_irq(lp->irq, lance_interrupt, SA_SHIRQ, lp->name, dev))
|
||||
if (request_irq(lp->irq, lance_interrupt, IRQF_SHARED, lp->name, dev))
|
||||
return -EAGAIN;
|
||||
|
||||
res = lance_reset(dev);
|
||||
|
|
|
|||
|
|
@ -882,7 +882,7 @@ static int ehea_reg_interrupts(struct net_device *dev)
|
|||
, "%s-recv%d", dev->name, i);
|
||||
ret = ibmebus_request_irq(NULL, pr->recv_eq->attr.ist1,
|
||||
ehea_recv_irq_handler,
|
||||
SA_INTERRUPT, pr->int_recv_name, pr);
|
||||
IRQF_DISABLED, pr->int_recv_name, pr);
|
||||
if (ret) {
|
||||
ehea_error("failed registering irq for ehea_recv_int:"
|
||||
"port_res_nr:%d, ist=%X", i,
|
||||
|
|
@ -899,7 +899,7 @@ static int ehea_reg_interrupts(struct net_device *dev)
|
|||
|
||||
ret = ibmebus_request_irq(NULL, port->qp_eq->attr.ist1,
|
||||
ehea_qp_aff_irq_handler,
|
||||
SA_INTERRUPT, port->int_aff_name, port);
|
||||
IRQF_DISABLED, port->int_aff_name, port);
|
||||
if (ret) {
|
||||
ehea_error("failed registering irq for qp_aff_irq_handler:"
|
||||
"ist=%X", port->qp_eq->attr.ist1);
|
||||
|
|
@ -916,7 +916,7 @@ static int ehea_reg_interrupts(struct net_device *dev)
|
|||
"%s-send%d", dev->name, i);
|
||||
ret = ibmebus_request_irq(NULL, pr->send_eq->attr.ist1,
|
||||
ehea_send_irq_handler,
|
||||
SA_INTERRUPT, pr->int_send_name,
|
||||
IRQF_DISABLED, pr->int_send_name,
|
||||
pr);
|
||||
if (ret) {
|
||||
ehea_error("failed registering irq for ehea_send "
|
||||
|
|
@ -2539,7 +2539,7 @@ static int __devinit ehea_probe(struct ibmebus_dev *dev,
|
|||
(unsigned long)adapter);
|
||||
|
||||
ret = ibmebus_request_irq(NULL, adapter->neq->attr.ist1,
|
||||
ehea_interrupt_neq, SA_INTERRUPT,
|
||||
ehea_interrupt_neq, IRQF_DISABLED,
|
||||
"ehea_neq", adapter);
|
||||
if (ret) {
|
||||
dev_err(&dev->ofdev.dev, "requesting NEQ IRQ failed");
|
||||
|
|
|
|||
|
|
@ -1077,7 +1077,7 @@ static int __devinit macb_probe(struct platform_device *pdev)
|
|||
}
|
||||
|
||||
dev->irq = platform_get_irq(pdev, 0);
|
||||
err = request_irq(dev->irq, macb_interrupt, SA_SAMPLE_RANDOM,
|
||||
err = request_irq(dev->irq, macb_interrupt, IRQF_SAMPLE_RANDOM,
|
||||
dev->name, dev);
|
||||
if (err) {
|
||||
printk(KERN_ERR
|
||||
|
|
|
|||
|
|
@ -619,8 +619,8 @@ static int netxen_nic_open(struct net_device *netdev)
|
|||
}
|
||||
adapter->irq = adapter->ahw.pdev->irq;
|
||||
err = request_irq(adapter->ahw.pdev->irq, &netxen_intr,
|
||||
SA_SHIRQ | SA_SAMPLE_RANDOM, netdev->name,
|
||||
adapter);
|
||||
IRQF_SHARED | IRQF_SAMPLE_RANDOM,
|
||||
netdev->name, adapter);
|
||||
if (err) {
|
||||
printk(KERN_ERR "request_irq failed with: %d\n", err);
|
||||
netxen_free_hw_resources(adapter);
|
||||
|
|
|
|||
|
|
@ -3228,7 +3228,7 @@ static int ql_adapter_up(struct ql3_adapter *qdev)
|
|||
{
|
||||
struct net_device *ndev = qdev->ndev;
|
||||
int err;
|
||||
unsigned long irq_flags = SA_SAMPLE_RANDOM | SA_SHIRQ;
|
||||
unsigned long irq_flags = IRQF_SAMPLE_RANDOM | IRQF_SHARED;
|
||||
unsigned long hw_flags;
|
||||
|
||||
if (ql_alloc_mem_resources(qdev)) {
|
||||
|
|
@ -3247,7 +3247,7 @@ static int ql_adapter_up(struct ql3_adapter *qdev)
|
|||
} else {
|
||||
printk(KERN_INFO PFX "%s: MSI Enabled...\n", qdev->ndev->name);
|
||||
set_bit(QL_MSI_ENABLED,&qdev->flags);
|
||||
irq_flags &= ~SA_SHIRQ;
|
||||
irq_flags &= ~IRQF_SHARED;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -3939,8 +3939,8 @@ static void ugeth_phy_startup_timer(unsigned long data)
|
|||
/* Grab the PHY interrupt, if necessary/possible */
|
||||
if (ugeth->ug_info->board_flags & FSL_UGETH_BRD_HAS_PHY_INTR) {
|
||||
if (request_irq(ugeth->ug_info->phy_interrupt,
|
||||
phy_interrupt,
|
||||
SA_SHIRQ, "phy_interrupt", mii_info->dev) < 0) {
|
||||
phy_interrupt, IRQF_SHARED,
|
||||
"phy_interrupt", mii_info->dev) < 0) {
|
||||
ugeth_err("%s: Can't get IRQ %d (PHY)",
|
||||
mii_info->dev->name,
|
||||
ugeth->ug_info->phy_interrupt);
|
||||
|
|
|
|||
Loading…
Reference in a new issue