summaryrefslogtreecommitdiffstats
path: root/arch/mips/kernel/i8253.c
diff options
context:
space:
mode:
authorThomas Gleixner <tglx@linutronix.de>2011-07-22 11:17:11 +0200
committerThomas Gleixner <tglx@linutronix.de>2011-07-22 11:18:22 +0200
commitded7c1ee9799fe0ca725b459f151402e3ca4d12b (patch)
tree3b080317ea973bb1f26aab67dcd0bcf3f38d5379 /arch/mips/kernel/i8253.c
parenti8253: Cleanup outb/inb magic (diff)
downloadlinux-ded7c1ee9799fe0ca725b459f151402e3ca4d12b.tar.xz
linux-ded7c1ee9799fe0ca725b459f151402e3ca4d12b.zip
mips: Fix i8253 clockevent fallout
pit_clockevent wants to replaced in the argument of the callback function as well. Reported-by; Ingo Molnar <mingo@elte.hu> Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Diffstat (limited to 'arch/mips/kernel/i8253.c')
-rw-r--r--arch/mips/kernel/i8253.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/mips/kernel/i8253.c b/arch/mips/kernel/i8253.c
index 8d95fe4f4871..be4ee7d63e04 100644
--- a/arch/mips/kernel/i8253.c
+++ b/arch/mips/kernel/i8253.c
@@ -12,7 +12,7 @@
static irqreturn_t timer_interrupt(int irq, void *dev_id)
{
- i8253_clockevent.event_handler(&pit_clockevent);
+ i8253_clockevent.event_handler(&i8253_clockevent);
return IRQ_HANDLED;
}