2.2.16 and EXPORT_SYMTAB

From: Nathalie Barat (nbarat@cirpack.com)
Date: Fri Jun 16 2000 - 11:32:33 EST


Hi!

I have a driver in which I define EXPORT_SYMTAB before including module.h,
so that I can export symbols. This also implies that the file modversions.h
will be included. It compiles well under Linux 2.2.14, but with Linux 2.2.15
or 2.2.16, I have the following warnings:
'smp_num_cpus' is defined in linux/modules/i386_ksyms.ver and REdefined in
linux/smp.h
'smp_call_function' is defined in linux/modules/i386_ksyms.ver and REdefined
in linux/smp.h
'cpu_data' is defined in linux/modules/i386_ksyms.ver and REdefined in
asm/processor.h

What should I do to avoid these warnings?
Thanks
_
Nathalie

PS: please CC to me

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



This archive was generated by hypermail 2b29 : Fri Jun 23 2000 - 21:00:12 EST