Fix: Use fs_initcall instead of rootfs_initcall
A message that is not in the archive (sent off-list or not yet received): [email protected]
Mathieu Desnoyers
AppliedQuoted 3 lines · ----- On Jul 28, 2016, at 12:12 PM, Michael Jeanson [email protected] wrote:
The
rootfs_initcallfor drivers built as modules was only introduced in kernel 3.14 by commitb46d0c46ccaa366a5bb8ac709fdf2bcaa76221fd. Usefs_initcallinstead which comes just before and exists in older kernels.
merged into master and stable-2.8, thanks!
Mathieu
Quoted 22 lines
Signed-off-by Michael Jeanson <[email protected]>---
tests/clock-plugin/lttng-clock-plugin-test.c| 2 +-1 file changed, 1 insertion(+), 1 deletion(-)tests/clock-plugin/lttng-clock-plugin-test.c +1
-1@@ -67,7 +67,7 @@ int lttng_clock_plugin_init(void) {return lttng_clock_register_plugin (<c,THIS_MODULE ); } -rootfs_initcall (lttng_clock_plugin_init); +fs_initcall (lttng_clock_plugin_init);static
__exit
voidlttng_clock_plugin_exit(void)
--
2.7.4
Signature · 7 lines
Mathieu Desnoyers EfficiOS Inc. http://www.efficios.com _______________________________________________ lttng-dev mailing list [email protected] https://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev