lkml.org 
[lkml]   [2006]   [Jun]   [29]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
Subject2.6.17-rt4 x86_64 unknown symbol monotonic_clock
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)
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
\
 
 \ /
  Last update: 2006-06-29 20:41    [W:0.289 / U:0.024 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site