* 2.6.17-rt4 x86_64 unknown symbol monotonic_clock
@ 2006-06-29 18:53 John Rigg
2006-06-30 18:51 ` Ingo Molnar
0 siblings, 1 reply; 2+ messages in thread
From: John Rigg @ 2006-06-29 18:53 UTC (permalink / raw)
To: Ingo Molnar; +Cc: linux-kernel
Hi Ingo,
I'm still getting this warning from `make modules_install':
WARNING: /lib/modules/2.6.17-rt4/kernel/drivers/char/hangcheck-timer.ko \
needs unknown symbol monotonic_clock
The patch below appears to fix it.
John
diff -uprN linux-2.6.17-rt4/arch/x86_64/kernel/time.c linux-2.6.17-rt4-patched/arch/x86_64/kernel/time.c
--- linux-2.6.17-rt4/arch/x86_64/kernel/time.c 2006-06-29 19:38:29.000000000 +0100
+++ linux-2.6.17-rt4-patched/arch/x86_64/kernel/time.c 2006-06-29 19:37:06.000000000 +0100
@@ -247,6 +247,15 @@ unsigned long long sched_clock(void)
return cycles_2_ns(a);
}
+/*
+ * Monotonic_clock - returns # of nanoseconds passed since time_init()
+ */
+unsigned long long monotonic_clock(void)
+{
+ return sched_clock();
+}
+EXPORT_SYMBOL(monotonic_clock);
+
static int tsc_unstable;
static inline int check_tsc_unstable(void)
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: 2.6.17-rt4 x86_64 unknown symbol monotonic_clock
2006-06-29 18:53 2.6.17-rt4 x86_64 unknown symbol monotonic_clock John Rigg
@ 2006-06-30 18:51 ` Ingo Molnar
0 siblings, 0 replies; 2+ messages in thread
From: Ingo Molnar @ 2006-06-30 18:51 UTC (permalink / raw)
To: John Rigg; +Cc: linux-kernel
* John Rigg <lk@sound-man.co.uk> wrote:
> Hi Ingo,
>
> I'm still getting this warning from `make modules_install':
>
> WARNING:
> /lib/modules/2.6.17-rt4/kernel/drivers/char/hangcheck-timer.ko \ needs
> unknown symbol monotonic_clock
oops ...
> The patch below appears to fix it.
thanks, applied.
Ingo
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2006-06-30 18:56 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-06-29 18:53 2.6.17-rt4 x86_64 unknown symbol monotonic_clock John Rigg
2006-06-30 18:51 ` Ingo Molnar
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox