X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=arch%2Fm68k%2Fhp300%2Ftime.c;h=8da5b1b31e616c199349569e3028adbaab6967b4;hb=9464c7cf61b9433057924c36e6e02f303a00e768;hp=7df05662b27795d81c6b3b0b3e49d1bb20c53652;hpb=41689045f6a3cbe0550e1d34e9cc20d2e8c432ba;p=linux-2.6.git diff --git a/arch/m68k/hp300/time.c b/arch/m68k/hp300/time.c index 7df05662b..8da5b1b31 100644 --- a/arch/m68k/hp300/time.c +++ b/arch/m68k/hp300/time.c @@ -18,6 +18,7 @@ #include #include #include +#include "ints.h" /* Clock hardware definitions */ @@ -70,7 +71,7 @@ void __init hp300_sched_init(irqreturn_t (*vector)(int, void *, struct pt_regs * asm volatile(" movpw %0,%1@(5)" : : "d" (INTVAL), "a" (CLOCKBASE)); - request_irq(IRQ_AUTO_6, hp300_tick, IRQ_FLG_STD, "timer tick", vector); + cpu_request_irq(6, hp300_tick, IRQ_FLG_STD, "timer tick", vector); out_8(CLOCKBASE + CLKCR2, 0x1); /* select CR1 */ out_8(CLOCKBASE + CLKCR1, 0x40); /* enable irq */