Re: 2.6.17-rt1 unknown symbol monotonic_clock

From: Michal Piotrowski
Date: Wed Jun 21 2006 - 06:08:31 EST


Hi John,

John Rigg napisaÅ(a):
> Just compiled 2.6.17-rt1 on x86_64 UP system and got the following
> message when doing `make modules_install':
> WARNING: /lib/modules/2.6.17-rt1/kernel/drivers/char/hangcheck-timer.ko \
> needs unknown symbol monotonic_clock

Please try this patch

diff -uprN -X linux-work/Documentation/dontdiff linux-work-clean/drivers/char/hangcheck-timer.c linux-work/drivers/char/hangcheck-timer.c
--- linux-work-clean/drivers/char/hangcheck-timer.c 2006-06-19 21:04:36.000000000 +0200
+++ linux-work/drivers/char/hangcheck-timer.c 2006-06-19 21:08:49.000000000 +0200
@@ -133,6 +133,8 @@ static inline unsigned long long monoton
{
return get_cycles();
}
+
+EXPORT_SYMBOL(monotonic_clock);
#endif /* HAVE_MONOTONIC */

>
> John

Regards,
Michal

--
Michal K. K. Piotrowski
LTG - Linux Testers Group
(http://www.stardust.webpages.pl/ltg/wiki/)
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/