Commit 7832bb5d authored by Yong Zhang's avatar Yong Zhang Committed by Mike Frysinger

Blackfin: irq: remove IRQF_DISABLED

This flag is a NOOP and can be removed now.
Signed-off-by: default avatarYong Zhang <yong.zhang0@gmail.com>
Acked-by: default avatarBob Liu <lliubbo@kernel.org>
Signed-off-by: default avatarMike Frysinger <vapier@gentoo.org>
parent 23405b02
...@@ -188,8 +188,7 @@ irqreturn_t bfin_gptmr0_interrupt(int irq, void *dev_id) ...@@ -188,8 +188,7 @@ irqreturn_t bfin_gptmr0_interrupt(int irq, void *dev_id)
static struct irqaction gptmr0_irq = { static struct irqaction gptmr0_irq = {
.name = "Blackfin GPTimer0", .name = "Blackfin GPTimer0",
.flags = IRQF_DISABLED | IRQF_TIMER | \ .flags = IRQF_TIMER | IRQF_IRQPOLL | IRQF_PERCPU,
IRQF_IRQPOLL | IRQF_PERCPU,
.handler = bfin_gptmr0_interrupt, .handler = bfin_gptmr0_interrupt,
}; };
...@@ -297,8 +296,7 @@ irqreturn_t bfin_coretmr_interrupt(int irq, void *dev_id) ...@@ -297,8 +296,7 @@ irqreturn_t bfin_coretmr_interrupt(int irq, void *dev_id)
static struct irqaction coretmr_irq = { static struct irqaction coretmr_irq = {
.name = "Blackfin CoreTimer", .name = "Blackfin CoreTimer",
.flags = IRQF_DISABLED | IRQF_TIMER | \ .flags = IRQF_TIMER | IRQF_IRQPOLL | IRQF_PERCPU,
IRQF_IRQPOLL | IRQF_PERCPU,
.handler = bfin_coretmr_interrupt, .handler = bfin_coretmr_interrupt,
}; };
......
...@@ -25,7 +25,6 @@ ...@@ -25,7 +25,6 @@
static struct irqaction bfin_timer_irq = { static struct irqaction bfin_timer_irq = {
.name = "Blackfin Timer Tick", .name = "Blackfin Timer Tick",
.flags = IRQF_DISABLED
}; };
#if defined(CONFIG_IPIPE) #if defined(CONFIG_IPIPE)
......
...@@ -605,7 +605,7 @@ static struct platform_device bfin_mac_device = { ...@@ -605,7 +605,7 @@ static struct platform_device bfin_mac_device = {
static struct pata_platform_info bfin_pata_platform_data = { static struct pata_platform_info bfin_pata_platform_data = {
.ioport_shift = 2, .ioport_shift = 2,
.irq_type = IRQF_TRIGGER_HIGH | IRQF_DISABLED, .irq_type = IRQF_TRIGGER_HIGH,
}; };
static struct resource bfin_pata_resources[] = { static struct resource bfin_pata_resources[] = {
......
...@@ -570,7 +570,7 @@ static struct platform_device bfin_mac_device = { ...@@ -570,7 +570,7 @@ static struct platform_device bfin_mac_device = {
static struct pata_platform_info bfin_pata_platform_data = { static struct pata_platform_info bfin_pata_platform_data = {
.ioport_shift = 2, .ioport_shift = 2,
.irq_type = IRQF_TRIGGER_HIGH | IRQF_DISABLED, .irq_type = IRQF_TRIGGER_HIGH,
}; };
static struct resource bfin_pata_resources[] = { static struct resource bfin_pata_resources[] = {
......
...@@ -2365,7 +2365,7 @@ static struct platform_device bfin_sport1_uart_device = { ...@@ -2365,7 +2365,7 @@ static struct platform_device bfin_sport1_uart_device = {
#define PATA_INT IRQ_PF5 #define PATA_INT IRQ_PF5
static struct pata_platform_info bfin_pata_platform_data = { static struct pata_platform_info bfin_pata_platform_data = {
.ioport_shift = 1, .ioport_shift = 1,
.irq_flags = IRQF_TRIGGER_HIGH | IRQF_DISABLED, .irq_flags = IRQF_TRIGGER_HIGH,
}; };
static struct resource bfin_pata_resources[] = { static struct resource bfin_pata_resources[] = {
......
...@@ -572,7 +572,7 @@ static struct platform_device bfin_mac_device = { ...@@ -572,7 +572,7 @@ static struct platform_device bfin_mac_device = {
static struct pata_platform_info bfin_pata_platform_data = { static struct pata_platform_info bfin_pata_platform_data = {
.ioport_shift = 2, .ioport_shift = 2,
.irq_type = IRQF_TRIGGER_HIGH | IRQF_DISABLED, .irq_type = IRQF_TRIGGER_HIGH,
}; };
static struct resource bfin_pata_resources[] = { static struct resource bfin_pata_resources[] = {
......
...@@ -348,7 +348,7 @@ static struct platform_device bfin_sir0_device = { ...@@ -348,7 +348,7 @@ static struct platform_device bfin_sir0_device = {
static struct pata_platform_info bfin_pata_platform_data = { static struct pata_platform_info bfin_pata_platform_data = {
.ioport_shift = 2, .ioport_shift = 2,
.irq_type = IRQF_TRIGGER_HIGH | IRQF_DISABLED, .irq_type = IRQF_TRIGGER_HIGH,
}; };
static struct resource bfin_pata_resources[] = { static struct resource bfin_pata_resources[] = {
......
...@@ -114,7 +114,7 @@ void __init platform_request_ipi(int irq, void *handler) ...@@ -114,7 +114,7 @@ void __init platform_request_ipi(int irq, void *handler)
int ret; int ret;
const char *name = (irq == IRQ_SUPPLE_0) ? supple0 : supple1; const char *name = (irq == IRQ_SUPPLE_0) ? supple0 : supple1;
ret = request_irq(irq, handler, IRQF_DISABLED | IRQF_PERCPU, name, handler); ret = request_irq(irq, handler, IRQF_PERCPU, name, handler);
if (ret) if (ret)
panic("Cannot request %s for IPI service", name); panic("Cannot request %s for IPI service", name);
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment