diff options
author | Thomas Gleixner <tglx@linutronix.de> | 2011-03-24 14:47:46 +0100 |
---|---|---|
committer | Thomas Gleixner <tglx@linutronix.de> | 2011-03-29 14:48:13 +0200 |
commit | a821b2793ea958038687c481c1ea7f74c8fcccfd (patch) | |
tree | ce6855fe71c2087b93ad4043ff1970c4199bdc1e /arch/sh | |
parent | powerpc: Use generic show_interrupts() (diff) | |
download | linux-a821b2793ea958038687c481c1ea7f74c8fcccfd.tar.xz linux-a821b2793ea958038687c481c1ea7f74c8fcccfd.zip |
sh: Use the proper accessor functions
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Diffstat (limited to 'arch/sh')
-rw-r--r-- | arch/sh/boards/mach-se/7206/irq.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/arch/sh/boards/mach-se/7206/irq.c b/arch/sh/boards/mach-se/7206/irq.c index 9070d7e60704..3308816c127c 100644 --- a/arch/sh/boards/mach-se/7206/irq.c +++ b/arch/sh/boards/mach-se/7206/irq.c @@ -92,9 +92,8 @@ static void eoi_se7206_irq(struct irq_data *data) { unsigned short sts0,sts1; unsigned int irq = data->irq; - struct irq_desc *desc = irq_to_desc(irq); - if (!(desc->status & (IRQ_DISABLED|IRQ_INPROGRESS))) + if (!irqd_irq_disabled(data) && !irqd_irq_inprogress(data)) enable_se7206_irq(data); /* FPGA isr clear */ sts0 = __raw_readw(INTSTS0); |