Re: 2.6.14-rc4-rt6, depmod

From: Steven Rostedt
Date: Sun Oct 16 2005 - 03:17:49 EST




On Sat, 15 Oct 2005, Fernando Lopez-Lezcano wrote:

> Hi Ingo, I'm getting this after building 2.6.14-rc4-rt6:
>
> WARNING: /lib/modules/2.6.13-0.13.rrt.rhfc4.ccrmasmp/kernel/drivers/char/hangcheck-timer.ko needs unknown symbol do_monotonic_clock

below is a patch to get this part to compile. (hopefully :-)

-- Steve

Index: linux-2.6.14-rc4-rt6/kernel/time.c
===================================================================
--- linux-2.6.14-rc4-rt6.orig/kernel/time.c 2005-10-15 11:29:19.000000000 -0400
+++ linux-2.6.14-rc4-rt6/kernel/time.c 2005-10-16 04:03:57.000000000 -0400
@@ -631,6 +631,7 @@

return ((u64)ts.tv_sec * NSEC_PER_SEC) + ts.tv_nsec;
}
+EXPORT_SYMBOL_GPL(do_monotonic_clock);

#endif /* !CONFIG_GENERIC_TIME */

Index: linux-2.6.14-rc4-rt6/kernel/time/timeofday.c
===================================================================
--- linux-2.6.14-rc4-rt6.orig/kernel/time/timeofday.c 2005-10-15 11:29:19.000000000 -0400
+++ linux-2.6.14-rc4-rt6/kernel/time/timeofday.c 2005-10-16 04:04:07.000000000 -0400
@@ -213,6 +213,7 @@

return ret;
}
+EXPORT_SYMBOL_GPL(do_monotonic_clock);

/**
* getnsmonotonic - Returns the monotonic time in a timespec
-
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/