[PATCH][2.5] kbuild-2.5 1/12: patched module.h

From: Lightweight patch manager (patch@luckynet.dynu.com)
Date: Sat Jun 01 2002 - 14:47:19 EST


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>
 

-
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/



This archive was generated by hypermail 2b29 : Fri Jun 07 2002 - 22:00:11 EST