Re: modules/ksyms/filenames

Keith Owens (kaos@ocs.com.au)
Fri, 20 Jul 2001 11:02:00 +1000


On Thu, 19 Jul 2001 15:54:00 -0600,
"Peter J. Braam" <braam@clusterfs.com> wrote:
>I'm trying to export a symbol (journal_begin/end) from
>fs/reiserfs/journal.c. To export the symbols I added to the Makefile:
>export-objs := journal.o
>
>There is also a file fs/jbd/journal.c which exports symbols.

It is a "feature" of the module symbol versioning that all objects
which export symbols must have globally unique basenames. Stupid, I
know, and it will disappear in 2.5. In the meantime, create
fs/reiserfs/reiserfs_ksyms.c and export the symbols in there. See
kernel/ksyms.c for an example.

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/