You've already forked linux-apfs
mirror of
https://github.com/linux-apfs/linux-apfs.git
synced 2026-05-01 15:00:59 -07:00
[PATCH] ARM: fixup irqflags breakage after ARM genirq merge
The irgflags consolidation did conflict with the ARM to generic IRQ conversion and was not applied for ARM. Fix it up. Use the new IRQF_ constants and remove the SA_INTERRUPT define Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
This commit is contained in:
committed by
Linus Torvalds
parent
d061daa0e3
commit
52e405eaa9
@@ -77,7 +77,7 @@ ioc_timer_interrupt(int irq, void *dev_id, struct pt_regs *regs)
|
||||
|
||||
static struct irqaction ioc_timer_irq = {
|
||||
.name = "timer",
|
||||
.flags = SA_INTERRUPT,
|
||||
.flags = IRQF_DISABLED,
|
||||
.handler = ioc_timer_interrupt
|
||||
};
|
||||
|
||||
|
||||
@@ -142,7 +142,7 @@ aaec2000_timer_interrupt(int irq, void *dev_id, struct pt_regs *regs)
|
||||
|
||||
static struct irqaction aaec2000_timer_irq = {
|
||||
.name = "AAEC-2000 Timer Tick",
|
||||
.flags = SA_INTERRUPT | SA_TIMER,
|
||||
.flags = IRQF_DISABLED | IRQF_TIMER,
|
||||
.handler = aaec2000_timer_interrupt,
|
||||
};
|
||||
|
||||
|
||||
@@ -85,7 +85,7 @@ static irqreturn_t at91rm9200_timer_interrupt(int irq, void *dev_id, struct pt_r
|
||||
|
||||
static struct irqaction at91rm9200_timer_irq = {
|
||||
.name = "at91_tick",
|
||||
.flags = SA_SHIRQ | SA_INTERRUPT | SA_TIMER,
|
||||
.flags = IRQF_SHARED | IRQF_DISABLED | IRQF_TIMER,
|
||||
.handler = at91rm9200_timer_interrupt
|
||||
};
|
||||
|
||||
|
||||
@@ -58,7 +58,7 @@ p720t_timer_interrupt(int irq, void *dev_id, struct pt_regs *regs)
|
||||
|
||||
static struct irqaction clps711x_timer_irq = {
|
||||
.name = "CLPS711x Timer Tick",
|
||||
.flags = SA_INTERRUPT | SA_TIMER,
|
||||
.flags = IRQF_DISABLED | IRQF_TIMER,
|
||||
.handler = p720t_timer_interrupt,
|
||||
};
|
||||
|
||||
|
||||
@@ -316,7 +316,7 @@ clps7500_timer_interrupt(int irq, void *dev_id, struct pt_regs *regs)
|
||||
|
||||
static struct irqaction clps7500_timer_irq = {
|
||||
.name = "CLPS7500 Timer Tick",
|
||||
.flags = SA_INTERRUPT | SA_TIMER,
|
||||
.flags = IRQF_DISABLED | IRQF_TIMER,
|
||||
.handler = clps7500_timer_interrupt,
|
||||
};
|
||||
|
||||
|
||||
@@ -199,7 +199,7 @@ ebsa110_timer_interrupt(int irq, void *dev_id, struct pt_regs *regs)
|
||||
|
||||
static struct irqaction ebsa110_timer_irq = {
|
||||
.name = "EBSA110 Timer Tick",
|
||||
.flags = SA_INTERRUPT | SA_TIMER,
|
||||
.flags = IRQF_DISABLED | IRQF_TIMER,
|
||||
.handler = ebsa110_timer_interrupt,
|
||||
};
|
||||
|
||||
|
||||
@@ -116,7 +116,7 @@ static int ep93xx_timer_interrupt(int irq, void *dev_id, struct pt_regs *regs)
|
||||
|
||||
static struct irqaction ep93xx_timer_irq = {
|
||||
.name = "ep93xx timer",
|
||||
.flags = SA_INTERRUPT | SA_TIMER,
|
||||
.flags = IRQF_DISABLED | IRQF_TIMER,
|
||||
.handler = ep93xx_timer_interrupt,
|
||||
};
|
||||
|
||||
|
||||
@@ -44,7 +44,7 @@ timer1_interrupt(int irq, void *dev_id, struct pt_regs *regs)
|
||||
static struct irqaction footbridge_timer_irq = {
|
||||
.name = "Timer1 timer tick",
|
||||
.handler = timer1_interrupt,
|
||||
.flags = SA_INTERRUPT | SA_TIMER,
|
||||
.flags = IRQF_DISABLED | IRQF_TIMER,
|
||||
};
|
||||
|
||||
/*
|
||||
|
||||
@@ -332,15 +332,15 @@ void __init dc21285_preinit(void)
|
||||
/*
|
||||
* We don't care if these fail.
|
||||
*/
|
||||
request_irq(IRQ_PCI_SERR, dc21285_serr_irq, SA_INTERRUPT,
|
||||
request_irq(IRQ_PCI_SERR, dc21285_serr_irq, IRQF_DISABLED,
|
||||
"PCI system error", &serr_timer);
|
||||
request_irq(IRQ_PCI_PERR, dc21285_parity_irq, SA_INTERRUPT,
|
||||
request_irq(IRQ_PCI_PERR, dc21285_parity_irq, IRQF_DISABLED,
|
||||
"PCI parity error", &perr_timer);
|
||||
request_irq(IRQ_PCI_ABORT, dc21285_abort_irq, SA_INTERRUPT,
|
||||
request_irq(IRQ_PCI_ABORT, dc21285_abort_irq, IRQF_DISABLED,
|
||||
"PCI abort", NULL);
|
||||
request_irq(IRQ_DISCARD_TIMER, dc21285_discard_irq, SA_INTERRUPT,
|
||||
request_irq(IRQ_DISCARD_TIMER, dc21285_discard_irq, IRQF_DISABLED,
|
||||
"Discard timer", NULL);
|
||||
request_irq(IRQ_PCI_DPERR, dc21285_dparity_irq, SA_INTERRUPT,
|
||||
request_irq(IRQ_PCI_DPERR, dc21285_dparity_irq, IRQF_DISABLED,
|
||||
"PCI data parity", NULL);
|
||||
|
||||
if (cfn_mode) {
|
||||
|
||||
@@ -73,7 +73,7 @@ isa_timer_interrupt(int irq, void *dev_id, struct pt_regs *regs)
|
||||
static struct irqaction isa_timer_irq = {
|
||||
.name = "ISA timer tick",
|
||||
.handler = isa_timer_interrupt,
|
||||
.flags = SA_INTERRUPT | SA_TIMER,
|
||||
.flags = IRQF_DISABLED | IRQF_TIMER,
|
||||
};
|
||||
|
||||
static void __init isa_timer_init(void)
|
||||
|
||||
@@ -41,7 +41,7 @@ h7201_timer_interrupt(int irq, void *dev_id, struct pt_regs *regs)
|
||||
|
||||
static struct irqaction h7201_timer_irq = {
|
||||
.name = "h7201 Timer Tick",
|
||||
.flags = SA_INTERRUPT | SA_TIMER,
|
||||
.flags = IRQF_DISABLED | IRQF_TIMER,
|
||||
.handler = h7201_timer_interrupt,
|
||||
};
|
||||
|
||||
|
||||
@@ -171,7 +171,7 @@ static struct irqchip h7202_timerx_chip = {
|
||||
|
||||
static struct irqaction h7202_timer_irq = {
|
||||
.name = "h7202 Timer Tick",
|
||||
.flags = SA_INTERRUPT | SA_TIMER,
|
||||
.flags = IRQF_DISABLED | IRQF_TIMER,
|
||||
.handler = h7202_timer_interrupt,
|
||||
};
|
||||
|
||||
|
||||
@@ -72,7 +72,7 @@ imx_timer_interrupt(int irq, void *dev_id, struct pt_regs *regs)
|
||||
|
||||
static struct irqaction imx_timer_irq = {
|
||||
.name = "i.MX Timer Tick",
|
||||
.flags = SA_INTERRUPT | SA_TIMER,
|
||||
.flags = IRQF_DISABLED | IRQF_TIMER,
|
||||
.handler = imx_timer_interrupt,
|
||||
};
|
||||
|
||||
|
||||
@@ -282,7 +282,7 @@ integrator_timer_interrupt(int irq, void *dev_id, struct pt_regs *regs)
|
||||
|
||||
static struct irqaction integrator_timer_irq = {
|
||||
.name = "Integrator Timer Tick",
|
||||
.flags = SA_INTERRUPT | SA_TIMER,
|
||||
.flags = IRQF_DISABLED | IRQF_TIMER,
|
||||
.handler = integrator_timer_interrupt,
|
||||
};
|
||||
|
||||
|
||||
@@ -125,7 +125,7 @@ static int rtc_probe(struct amba_device *dev, void *id)
|
||||
|
||||
xtime.tv_sec = __raw_readl(rtc_base + RTC_DR);
|
||||
|
||||
ret = request_irq(dev->irq[0], arm_rtc_interrupt, SA_INTERRUPT,
|
||||
ret = request_irq(dev->irq[0], arm_rtc_interrupt, IRQF_DISABLED,
|
||||
"rtc-pl030", dev);
|
||||
if (ret)
|
||||
goto map_out;
|
||||
|
||||
@@ -85,7 +85,7 @@ iop321_timer_interrupt(int irq, void *dev_id, struct pt_regs *regs)
|
||||
static struct irqaction iop321_timer_irq = {
|
||||
.name = "IOP321 Timer Tick",
|
||||
.handler = iop321_timer_interrupt,
|
||||
.flags = SA_INTERRUPT | SA_TIMER,
|
||||
.flags = IRQF_DISABLED | IRQF_TIMER,
|
||||
};
|
||||
|
||||
static void __init iop321_timer_init(void)
|
||||
|
||||
@@ -82,7 +82,7 @@ iop331_timer_interrupt(int irq, void *dev_id, struct pt_regs *regs)
|
||||
static struct irqaction iop331_timer_irq = {
|
||||
.name = "IOP331 Timer Tick",
|
||||
.handler = iop331_timer_interrupt,
|
||||
.flags = SA_INTERRUPT | SA_TIMER,
|
||||
.flags = IRQF_DISABLED | IRQF_TIMER,
|
||||
};
|
||||
|
||||
static void __init iop331_timer_init(void)
|
||||
|
||||
@@ -224,7 +224,7 @@ static int ixp2000_timer_interrupt(int irq, void *dev_id, struct pt_regs *regs)
|
||||
|
||||
static struct irqaction ixp2000_timer_irq = {
|
||||
.name = "IXP2000 Timer Tick",
|
||||
.flags = SA_INTERRUPT | SA_TIMER,
|
||||
.flags = IRQF_DISABLED | IRQF_TIMER,
|
||||
.handler = ixp2000_timer_interrupt,
|
||||
};
|
||||
|
||||
|
||||
@@ -363,7 +363,7 @@ ixp23xx_timer_interrupt(int irq, void *dev_id, struct pt_regs *regs)
|
||||
static struct irqaction ixp23xx_timer_irq = {
|
||||
.name = "IXP23xx Timer Tick",
|
||||
.handler = ixp23xx_timer_interrupt,
|
||||
.flags = SA_INTERRUPT | SA_TIMER,
|
||||
.flags = IRQF_DISABLED | IRQF_TIMER,
|
||||
};
|
||||
|
||||
void __init ixp23xx_init_timer(void)
|
||||
|
||||
@@ -287,7 +287,7 @@ static irqreturn_t ixp4xx_timer_interrupt(int irq, void *dev_id, struct pt_regs
|
||||
|
||||
static struct irqaction ixp4xx_timer_irq = {
|
||||
.name = "IXP4xx Timer Tick",
|
||||
.flags = SA_INTERRUPT | SA_TIMER,
|
||||
.flags = IRQF_DISABLED | IRQF_TIMER,
|
||||
.handler = ixp4xx_timer_interrupt,
|
||||
};
|
||||
|
||||
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user