Hi,

while experimenting with recent kernel/rtai/compiler version, I discovered the following tiny issue: rtai_lxrt (tested with 3.1 and vesuvio cvs) does not export its symbols correctly on 2.4 kernels. The reason can be retrieved from the attached patch, I guess ;).

Jan
Index: sys_lxrt.c
===================================================================
RCS file: /cvs/rtai/vesuvio/rtai-core/sched/rtai/sys_lxrt.c,v
retrieving revision 1.13
diff -u -p -r1.13 sys_lxrt.c
--- sys_lxrt.c  13 Oct 2004 12:56:28 -0000      1.13
+++ sys_lxrt.c  18 Nov 2004 13:17:48 -0000
@@ -701,4 +701,8 @@ int lxrt_init_archdep (void)
 
 void lxrt_exit_archdep (void) { }
 
+#ifdef CONFIG_KBUILD
+
 EXPORT_SYMBOL(linux_process_termination);
+
+#endif /* CONFIG_KBUILD */

Reply via email to