EXPORT_SYMBOL ignored in some modules, 2.1.19

Keith Owens (kaos@ocs.com.au)
Thu, 02 Jan 1997 01:13:12 +1100


The EXPORT_SYMBOL macro is conditionally defined based on
CONFIG_MODULES. If linux/config.h is not included before
linux/module.h, CONFIG_MODULES is undefined and EXPORT_SYMBOL is
incorrectly set to a null string.

The following sources export symbols but do not include config.h so the
symbols are not exported. Either these sources need config.h or
module.h should include config.h itself. If the former, should mkdep
check for module.h without config.h first?

arch/alpha/kernel/ksyms.c
arch/m68k/amiga/ksyms.c
arch/m68k/atari/ksyms.c
arch/m68k/kernel/ksyms.c
drivers/net/ppp.c
fs/fat/fatfs_syms.c
fs/msdos/msdosfs_syms.c
fs/vfat/namei.c
net/802/llc_macinit.c
net/802/p8022.c
net/802/p8022tr.c
net/802/psnap.c
net/core/firewall.c