isdn: remove deprecated IRQF_DISABLED
This patch proposes to remove the use of the IRQF_DISABLED flag It's a NOOP since 2.6.35 and it will be removed one day. Signed-off-by: Michael Opdenacker <michael.opdenacker@free-electrons.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
3a14aedec4
commit
33235ca458
@ -481,7 +481,7 @@ void __inline__ outpp(void __iomem *addr, word p)
|
|||||||
int diva_os_register_irq(void *context, byte irq, const char *name)
|
int diva_os_register_irq(void *context, byte irq, const char *name)
|
||||||
{
|
{
|
||||||
int result = request_irq(irq, diva_os_irq_wrapper,
|
int result = request_irq(irq, diva_os_irq_wrapper,
|
||||||
IRQF_DISABLED | IRQF_SHARED, name, context);
|
IRQF_SHARED, name, context);
|
||||||
return (result);
|
return (result);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -336,7 +336,7 @@ static int __init sc_init(void)
|
|||||||
*/
|
*/
|
||||||
sc_adapter[cinst]->interrupt = irq[b];
|
sc_adapter[cinst]->interrupt = irq[b];
|
||||||
if (request_irq(sc_adapter[cinst]->interrupt, interrupt_handler,
|
if (request_irq(sc_adapter[cinst]->interrupt, interrupt_handler,
|
||||||
IRQF_DISABLED, interface->id,
|
0, interface->id,
|
||||||
(void *)(unsigned long) cinst))
|
(void *)(unsigned long) cinst))
|
||||||
{
|
{
|
||||||
kfree(sc_adapter[cinst]->channel);
|
kfree(sc_adapter[cinst]->channel);
|
||||||
|
Loading…
Reference in New Issue
Block a user