OSDN Git Service
(root)
/
uclinux-h8
/
linux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
MIPS: cevt-r4k: Cleanup c0_compare_interrupt.
[uclinux-h8/linux.git]
/
arch
/
mips
/
kernel
/
cevt-r4k.c
diff --git
a/arch/mips/kernel/cevt-r4k.c
b/arch/mips/kernel/cevt-r4k.c
index
4ceed0a
..
d70c4d8
100644
(file)
--- a/
arch/mips/kernel/cevt-r4k.c
+++ b/
arch/mips/kernel/cevt-r4k.c
@@
-68,7
+68,7
@@
irqreturn_t c0_compare_interrupt(int irq, void *dev_id)
* the performance counter interrupt handler anyway.
*/
if (handle_perf_irq(r2))
* the performance counter interrupt handler anyway.
*/
if (handle_perf_irq(r2))
-
goto out
;
+
return IRQ_HANDLED
;
/*
* The same applies to performance counter interrupts. But with the
/*
* The same applies to performance counter interrupts. But with the
@@
-80,12
+80,11
@@
irqreturn_t c0_compare_interrupt(int irq, void *dev_id)
write_c0_compare(read_c0_compare());
cd = &per_cpu(mips_clockevent_device, cpu);
cd->event_handler(cd);
write_c0_compare(read_c0_compare());
cd = &per_cpu(mips_clockevent_device, cpu);
cd->event_handler(cd);
- } else {
- return IRQ_
NONE
;
+
+ return IRQ_
HANDLED
;
}
}
-out:
- return IRQ_HANDLED;
+ return IRQ_NONE;
}
struct irqaction c0_compare_irqaction = {
}
struct irqaction c0_compare_irqaction = {