* [PATCH] Add __cpuinit for some cevt-r4k functions
@ 2007-10-29 13:48 Atsushi Nemoto
2007-10-29 14:25 ` Ralf Baechle
0 siblings, 1 reply; 2+ messages in thread
From: Atsushi Nemoto @ 2007-10-29 13:48 UTC (permalink / raw)
To: linux-mips; +Cc: ralf
Signed-off-by: Atsushi Nemoto <anemo@mba.ocn.ne.jp>
---
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;
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] Add __cpuinit for some cevt-r4k functions
2007-10-29 13:48 [PATCH] Add __cpuinit for some cevt-r4k functions Atsushi Nemoto
@ 2007-10-29 14:25 ` Ralf Baechle
0 siblings, 0 replies; 2+ messages in thread
From: Ralf Baechle @ 2007-10-29 14:25 UTC (permalink / raw)
To: Atsushi Nemoto; +Cc: linux-mips
On Mon, Oct 29, 2007 at 10:48:41PM +0900, Atsushi Nemoto wrote:
Thanks, applied.
Ralf
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2007-10-29 14:26 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-10-29 13:48 [PATCH] Add __cpuinit for some cevt-r4k functions Atsushi Nemoto
2007-10-29 14:25 ` Ralf Baechle
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox