Signed-off-by: Atsushi Nemoto <anemo@xxxxxxxxxxxxx> --- diff --git a/arch/mips/kernel/cevt-r4k.c b/arch/mips/kernel/cevt-r4k.c index a59f67f..e62bc87 100644 --- a/arch/mips/kernel/cevt-r4k.c +++ b/arch/mips/kernel/cevt-r4k.c @@ -133,7 +133,7 @@ static void mips_broadcast(cpumask_t mask) smtc_send_ipi(cpu, SMTC_CLOCK_TICK, 0); } -static void setup_smtc_dummy_clockevent_device(void) +static void __cpuinit setup_smtc_dummy_clockevent_device(void) { //uint64_t mips_freq = mips_hpt_^frequency; unsigned int cpu = smp_processor_id(); @@ -172,12 +172,12 @@ static void mips_event_handler(struct clock_event_device *dev) /* * FIXME: This doesn't hold for the relocated E9000 compare interrupt. */ -static int c0_compare_int_pending(void) +static int __cpuinit c0_compare_int_pending(void) { return (read_c0_cause() >> cp0_compare_irq) & 0x100; } -static int c0_compare_int_usable(void) +static int __cpuinit c0_compare_int_usable(void) { unsigned int delta; unsigned int cnt;