Fix: Use fs_initcall instead of rootfs_initcall
authorMichael Jeanson <mjeanson@efficios.com>
Thu, 28 Jul 2016 16:12:11 +0000 (12:12 -0400)
committerMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Thu, 28 Jul 2016 20:51:27 +0000 (16:51 -0400)
The rootfs_initcall for drivers built as modules was only introduced in
kernel 3.14 by commit b46d0c46ccaa366a5bb8ac709fdf2bcaa76221fd. Use
fs_initcall instead which comes just before and exists in older kernels.

Signed-off-by: Michael Jeanson <mjeanson@efficios.com>
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
tests/clock-plugin/lttng-clock-plugin-test.c

index bf8193298602840dda91c0d23f48a80e6f1bab33..55facb77755ba5b581f95f403ba2ee154b60e1f4 100644 (file)
@@ -67,7 +67,7 @@ int lttng_clock_plugin_init(void)
 {
        return lttng_clock_register_plugin(&ltc, THIS_MODULE);
 }
-rootfs_initcall(lttng_clock_plugin_init);
+fs_initcall(lttng_clock_plugin_init);
 
 static __exit
 void lttng_clock_plugin_exit(void)
This page took 0.030476 seconds and 4 git commands to generate.