kbuild-2.5 - patched module.h
Here we have stuff skipped that kbuild-2.5 does for us.
You will need this patch in generic for kbuild-2.5.
You should have the other patches, too! You can compile a kernel
with only this patch, but it's meaningless. I suggest retrieving
the whole kbuild-2.5 patchset.
This patch is also available from
<URL:ftp://luckynet.dynu.com/pub/linux/kbuild-2.5/many-files/kbuild-2.5-includes.patch>
diff -Nur kbuild-2.5/include/linux/module.h kbuild-2.5/include/linux/module.h
--- kbuild-2.5/include/linux/module.h Fri May 31 15:49:39 2002
+++ kbuild-2.5/include/linux/module.h Fri May 31 15:49:39 2002 +0000 thunder (thunder-2.5/include/linux/module.h 1.1 0644)
@@ -11,6 +11,7 @@
#include <linux/spinlock.h>
#include <linux/list.h>
+#ifndef CONFIG_KBUILD_2_5
#ifdef __GENKSYMS__
# define _set_ver(sym) sym
# undef MODVERSIONS
@@ -21,6 +22,7 @@
# include <linux/modversions.h>
# endif
#endif /* __GENKSYMS__ */
+#endif /* CONFIG_KBUILD_2_5 */
#include <asm/atomic.h>