]> git.michaelhowe.org Git - packages/o/openafs.git/commitdiff
patch 02_modversions:
authorSam Hartman <hartmans@debian.org>
Sun, 17 Jun 2001 02:02:10 +0000 (02:02 +0000)
committerSam Hartman <hartmans@debian.org>
Sun, 17 Jun 2001 02:02:10 +0000 (02:02 +0000)
Include modversion before anything else so we get the right symbols for things like memcpy

debian/patch.02_modversions [new file with mode: 0644]
src/config/param.i386_linux22.h
src/config/param.i386_linux24.h
src/config/param.ppc_linux22.h
src/config/param.ppc_linux24.h
src/config/param.sparc_linux22.h

diff --git a/debian/patch.02_modversions b/debian/patch.02_modversions
new file mode 100644 (file)
index 0000000..8cb8227
--- /dev/null
@@ -0,0 +1,268 @@
+Index: src/config/param.i386_linux22.h
+===================================================================
+RCS file: /afs/sipb.mit.edu/project/openafs/debian/cvs/openafs/src/config/param.i386_linux22.h,v
+retrieving revision 1.1.1.4
+diff -u -r1.1.1.4 param.i386_linux22.h
+--- src/config/param.i386_linux22.h    2001/04/23 18:42:11     1.1.1.4
++++ src/config/param.i386_linux22.h    2001/06/17 01:56:35
+@@ -27,21 +27,6 @@
+ #define AFS_SYSCALL 137
+ #define AFS_64BIT_IOPS_ENV  1
+ #define AFS_NAMEI_ENV     1   /* User space interface to file system */
+-#include <afs/afs_sysnames.h>
+-
+-#define AFS_USERSPACE_IP_ADDR 1
+-#define RXK_LISTENER_ENV 1
+-#define AFS_GCPAGS            0       /* if nonzero, garbage collect PAGs */
+-
+-
+-/* Machine / Operating system information */
+-#define SYS_NAME      "i386_linux22"
+-#define SYS_NAME_ID   SYS_NAME_ID_i386_linux22
+-#define AFSLITTLE_ENDIAN    1
+-#define AFS_HAVE_FFS        1       /* Use system's ffs. */
+-#define AFS_HAVE_STATVFS    0 /* System doesn't support statvfs */
+-#define AFS_VM_RDWR_ENV           1   /* read/write implemented via VM */
+-
+ #if defined(__KERNEL__) && !defined(KDUMP_KERNEL)
+ #include <linux/config.h>
+ #ifdef CONFIG_SMP
+@@ -65,6 +50,21 @@
+ #endif
+ #endif /* __KERNEL__  && !DUMP_KERNEL*/
++#include <afs/afs_sysnames.h>
++
++#define AFS_USERSPACE_IP_ADDR 1
++#define RXK_LISTENER_ENV 1
++#define AFS_GCPAGS            0       /* if nonzero, garbage collect PAGs */
++
++
++/* Machine / Operating system information */
++#define SYS_NAME      "i386_linux22"
++#define SYS_NAME_ID   SYS_NAME_ID_i386_linux22
++#define AFSLITTLE_ENDIAN    1
++#define AFS_HAVE_FFS        1       /* Use system's ffs. */
++#define AFS_HAVE_STATVFS    0 /* System doesn't support statvfs */
++#define AFS_VM_RDWR_ENV           1   /* read/write implemented via VM */
++
+ #ifdef KERNEL
+ #ifndef MIN
+Index: src/config/param.i386_linux24.h
+===================================================================
+RCS file: /afs/sipb.mit.edu/project/openafs/debian/cvs/openafs/src/config/param.i386_linux24.h,v
+retrieving revision 1.1.1.2
+diff -u -r1.1.1.2 param.i386_linux24.h
+--- src/config/param.i386_linux24.h    2001/03/07 09:43:18     1.1.1.2
++++ src/config/param.i386_linux24.h    2001/06/17 01:51:59
+@@ -20,21 +20,6 @@
+ #define AFS_SYSCALL 137
+ #define AFS_64BIT_IOPS_ENV  1
+ #define AFS_NAMEI_ENV     1   /* User space interface to file system */
+-#include <afs/afs_sysnames.h>
+-
+-#define AFS_USERSPACE_IP_ADDR 1
+-#define RXK_LISTENER_ENV 1
+-#define AFS_GCPAGS             0       /* if nonzero, garbage collect PAGs */
+-
+-
+-/* Machine / Operating system information */
+-#define SYS_NAME       "i386_linux24"
+-#define SYS_NAME_ID    SYS_NAME_ID_i386_linux24
+-#define AFSLITTLE_ENDIAN    1
+-#define AFS_HAVE_FFS        1       /* Use system's ffs. */
+-#define AFS_HAVE_STATVFS    0  /* System doesn't support statvfs */
+-#define AFS_VM_RDWR_ENV            1   /* read/write implemented via VM */
+-
+ #if defined(__KERNEL__) && !defined(KDUMP_KERNEL)
+ #include <linux/config.h>
+ #ifdef CONFIG_SMP
+@@ -58,6 +43,21 @@
+ #endif
+ #endif /* __KERNEL__  && !DUMP_KERNEL*/
++#include <afs/afs_sysnames.h>
++
++#define AFS_USERSPACE_IP_ADDR 1
++#define RXK_LISTENER_ENV 1
++#define AFS_GCPAGS             0       /* if nonzero, garbage collect PAGs */
++
++
++/* Machine / Operating system information */
++#define SYS_NAME       "i386_linux24"
++#define SYS_NAME_ID    SYS_NAME_ID_i386_linux24
++#define AFSLITTLE_ENDIAN    1
++#define AFS_HAVE_FFS        1       /* Use system's ffs. */
++#define AFS_HAVE_STATVFS    0  /* System doesn't support statvfs */
++#define AFS_VM_RDWR_ENV            1   /* read/write implemented via VM */
++
+ #ifdef KERNEL
+ #ifndef MIN
+Index: src/config/param.ppc_linux22.h
+===================================================================
+RCS file: /afs/sipb.mit.edu/project/openafs/debian/cvs/openafs/src/config/param.ppc_linux22.h,v
+retrieving revision 1.1
+diff -u -r1.1 param.ppc_linux22.h
+--- src/config/param.ppc_linux22.h     2001/02/18 03:34:40     1.1
++++ src/config/param.ppc_linux22.h     2001/06/17 01:50:45
+@@ -18,21 +18,6 @@
+ #define AFS_SYSCALL 137
+ #define AFS_64BIT_IOPS_ENV  1
+ #define AFS_NAMEI_ENV     1   /* User space interface to file system */
+-#include <afs/afs_sysnames.h>
+-
+-#define AFS_USERSPACE_IP_ADDR 1
+-#define RXK_LISTENER_ENV 1
+-#define AFS_GCPAGS             0       /* if nonzero, garbage collect PAGs */
+-
+-
+-/* Machine / Operating system information */
+-#define SYS_NAME       "ppc_linux22"
+-#define SYS_NAME_ID    SYS_NAME_ID_ppc_linux22
+-#define AFSBIG_ENDIAN    1
+-#define AFS_HAVE_FFS        1       /* Use system's ffs. */
+-#define AFS_HAVE_STATVFS    0  /* System doesn't support statvfs */
+-#define AFS_VM_RDWR_ENV            1   /* read/write implemented via VM */
+-
+ #if defined(__KERNEL__) && !defined(KDUMP_KERNEL)
+ #include <linux/config.h>
+ #ifdef CONFIG_SMP
+@@ -47,7 +32,26 @@
+ #define AFS_GLOBAL_SUNLOCK
+ #endif
++#if defined(MODULE) && defined(CONFIG_MODVERSIONS)
++#define MODVERSIONS
++#include <linux/modversions.h>
++#endif
+ #endif /* __KERNEL__  && !DUMP_KERNEL*/
++#include <afs/afs_sysnames.h>
++
++#define AFS_USERSPACE_IP_ADDR 1
++#define RXK_LISTENER_ENV 1
++#define AFS_GCPAGS             0       /* if nonzero, garbage collect PAGs */
++
++
++/* Machine / Operating system information */
++#define SYS_NAME       "ppc_linux22"
++#define SYS_NAME_ID    SYS_NAME_ID_ppc_linux22
++#define AFSBIG_ENDIAN    1
++#define AFS_HAVE_FFS        1       /* Use system's ffs. */
++#define AFS_HAVE_STATVFS    0  /* System doesn't support statvfs */
++#define AFS_VM_RDWR_ENV            1   /* read/write implemented via VM */
++
+ #ifdef KERNEL
+ #ifndef MIN
+Index: src/config/param.ppc_linux24.h
+===================================================================
+RCS file: /afs/sipb.mit.edu/project/openafs/debian/cvs/openafs/src/config/param.ppc_linux24.h,v
+retrieving revision 1.1.1.1
+diff -u -r1.1.1.1 param.ppc_linux24.h
+--- src/config/param.ppc_linux24.h     2000/12/03 06:22:59     1.1.1.1
++++ src/config/param.ppc_linux24.h     2001/06/17 01:50:45
+@@ -20,6 +20,24 @@
+ #define AFS_SYSCALL 137
+ #define AFS_64BIT_IOPS_ENV  1
+ #define AFS_NAMEI_ENV     1   /* User space interface to file system */
++#include <linux/config.h>
++#ifdef CONFIG_SMP
++#undef CONFIG_SMP
++#endif
++/* Using "AFS_SMP" to map to however many #define's are required to get
++ * MP to compile for Linux
++ */
++#ifdef AFS_SMP
++#define CONFIG_SMP
++#define __SMP__
++#define AFS_GLOBAL_SUNLOCK
++#endif
++
++#if defined(MODULE) && defined(CONFIG_MODVERSIONS)
++#define MODVERSIONS
++#include <linux/modversions.h>
++#endif
++#endif /* __KERNEL__  && !DUMP_KERNEL*/
+ #include <afs/afs_sysnames.h>
+ #define AFS_USERSPACE_IP_ADDR 1
+@@ -36,20 +54,6 @@
+ #define AFS_VM_RDWR_ENV            1   /* read/write implemented via VM */
+ #if defined(__KERNEL__) && !defined(KDUMP_KERNEL)
+-#include <linux/config.h>
+-#ifdef CONFIG_SMP
+-#undef CONFIG_SMP
+-#endif
+-/* Using "AFS_SMP" to map to however many #define's are required to get
+- * MP to compile for Linux
+- */
+-#ifdef AFS_SMP
+-#define CONFIG_SMP
+-#define __SMP__
+-#define AFS_GLOBAL_SUNLOCK
+-#endif
+-
+-#endif /* __KERNEL__  && !DUMP_KERNEL*/
+ #ifdef KERNEL
+ #ifndef MIN
+Index: src/config/param.sparc_linux22.h
+===================================================================
+RCS file: /afs/sipb.mit.edu/project/openafs/debian/cvs/openafs/src/config/param.sparc_linux22.h,v
+retrieving revision 1.1
+diff -u -r1.1 param.sparc_linux22.h
+--- src/config/param.sparc_linux22.h   2001/01/16 05:39:04     1.1
++++ src/config/param.sparc_linux22.h   2001/06/17 01:50:45
+@@ -21,21 +21,6 @@
+ #define AFS_SYSCALL 227
+ #define AFS_64BIT_IOPS_ENV  1
+ #define AFS_NAMEI_ENV     1   /* User space interface to file system */
+-#include <afs/afs_sysnames.h>
+-
+-#define AFS_USERSPACE_IP_ADDR 1
+-#define RXK_LISTENER_ENV 1
+-#define AFS_GCPAGS            0       /* if nonzero, garbage collect PAGs */
+-
+-
+-/* Machine / Operating system information */
+-#define SYS_NAME      "sparc_linux22"
+-#define SYS_NAME_ID   SYS_NAME_ID_sparc_linux22
+-#define AFSBIG_ENDIAN    1
+-#define AFS_HAVE_FFS        1       /* Use system's ffs. */
+-#define AFS_HAVE_STATVFS    0 /* System doesn't support statvfs */
+-#define AFS_VM_RDWR_ENV           1   /* read/write implemented via VM */
+-
+ #if defined(__KERNEL__) && !defined(KDUMP_KERNEL)
+ #include <linux/config.h>
+ #ifdef CONFIG_SMP
+@@ -49,8 +34,27 @@
+ #define __SMP__
+ #define AFS_GLOBAL_SUNLOCK
+ #endif
++#if defined(MODULE) && defined(CONFIG_MODVERSIONS)
++#define MODVERSIONS
++#include <linux/modversions.h>
++#endif
+ #endif /* __KERNEL__  && !DUMP_KERNEL*/
++#include <afs/afs_sysnames.h>
++
++#define AFS_USERSPACE_IP_ADDR 1
++#define RXK_LISTENER_ENV 1
++#define AFS_GCPAGS            0       /* if nonzero, garbage collect PAGs */
++
++
++/* Machine / Operating system information */
++#define SYS_NAME      "sparc_linux22"
++#define SYS_NAME_ID   SYS_NAME_ID_sparc_linux22
++#define AFSBIG_ENDIAN    1
++#define AFS_HAVE_FFS        1       /* Use system's ffs. */
++#define AFS_HAVE_STATVFS    0 /* System doesn't support statvfs */
++#define AFS_VM_RDWR_ENV           1   /* read/write implemented via VM */
++
+ #ifdef KERNEL
+ #ifndef MIN
index 85506a61cf59897c510f63391019fbe7898eb564..fa2f99ed63c3a1876056f881df106aab4c318f47 100644 (file)
 #define AFS_SYSCALL 137
 #define AFS_64BIT_IOPS_ENV  1
 #define AFS_NAMEI_ENV     1   /* User space interface to file system */
-#include <afs/afs_sysnames.h>
-
-#define AFS_USERSPACE_IP_ADDR 1
-#define RXK_LISTENER_ENV 1
-#define AFS_GCPAGS             0       /* if nonzero, garbage collect PAGs */
-
-
-/* Machine / Operating system information */
-#define SYS_NAME       "i386_linux22"
-#define SYS_NAME_ID    SYS_NAME_ID_i386_linux22
-#define AFSLITTLE_ENDIAN    1
-#define AFS_HAVE_FFS        1       /* Use system's ffs. */
-#define AFS_HAVE_STATVFS    0  /* System doesn't support statvfs */
-#define AFS_VM_RDWR_ENV            1   /* read/write implemented via VM */
-
 #if defined(__KERNEL__) && !defined(KDUMP_KERNEL)
 #include <linux/config.h>
 #ifdef CONFIG_SMP
 #endif
 
 #endif /* __KERNEL__  && !DUMP_KERNEL*/
+#include <afs/afs_sysnames.h>
+
+#define AFS_USERSPACE_IP_ADDR 1
+#define RXK_LISTENER_ENV 1
+#define AFS_GCPAGS             0       /* if nonzero, garbage collect PAGs */
+
+
+/* Machine / Operating system information */
+#define SYS_NAME       "i386_linux22"
+#define SYS_NAME_ID    SYS_NAME_ID_i386_linux22
+#define AFSLITTLE_ENDIAN    1
+#define AFS_HAVE_FFS        1       /* Use system's ffs. */
+#define AFS_HAVE_STATVFS    0  /* System doesn't support statvfs */
+#define AFS_VM_RDWR_ENV            1   /* read/write implemented via VM */
+
 
 #ifdef KERNEL
 #ifndef MIN
index 0e8e95401dd4d77889a61ef360fb4ae0ebe5f8a7..ea36e812104b1e2a23105b77ae55d2e5f9f97395 100644 (file)
 #define AFS_SYSCALL 137
 #define AFS_64BIT_IOPS_ENV  1
 #define AFS_NAMEI_ENV     1   /* User space interface to file system */
-#include <afs/afs_sysnames.h>
-
-#define AFS_USERSPACE_IP_ADDR 1
-#define RXK_LISTENER_ENV 1
-#define AFS_GCPAGS             0       /* if nonzero, garbage collect PAGs */
-
-
-/* Machine / Operating system information */
-#define SYS_NAME       "i386_linux24"
-#define SYS_NAME_ID    SYS_NAME_ID_i386_linux24
-#define AFSLITTLE_ENDIAN    1
-#define AFS_HAVE_FFS        1       /* Use system's ffs. */
-#define AFS_HAVE_STATVFS    0  /* System doesn't support statvfs */
-#define AFS_VM_RDWR_ENV            1   /* read/write implemented via VM */
-
 #if defined(__KERNEL__) && !defined(KDUMP_KERNEL)
 #include <linux/config.h>
 #ifdef CONFIG_SMP
 #endif
 
 #endif /* __KERNEL__  && !DUMP_KERNEL*/
+#include <afs/afs_sysnames.h>
+
+#define AFS_USERSPACE_IP_ADDR 1
+#define RXK_LISTENER_ENV 1
+#define AFS_GCPAGS             0       /* if nonzero, garbage collect PAGs */
+
+
+/* Machine / Operating system information */
+#define SYS_NAME       "i386_linux24"
+#define SYS_NAME_ID    SYS_NAME_ID_i386_linux24
+#define AFSLITTLE_ENDIAN    1
+#define AFS_HAVE_FFS        1       /* Use system's ffs. */
+#define AFS_HAVE_STATVFS    0  /* System doesn't support statvfs */
+#define AFS_VM_RDWR_ENV            1   /* read/write implemented via VM */
+
 
 #ifdef KERNEL
 #ifndef MIN
index 93e46cf3466913250cb1606acc9cbbb3a22fe4fc..c282769628c7de2e8a76137e26e32f79bb34e235 100644 (file)
 #define AFS_SYSCALL 137
 #define AFS_64BIT_IOPS_ENV  1
 #define AFS_NAMEI_ENV     1   /* User space interface to file system */
-#include <afs/afs_sysnames.h>
-
-#define AFS_USERSPACE_IP_ADDR 1
-#define RXK_LISTENER_ENV 1
-#define AFS_GCPAGS             0       /* if nonzero, garbage collect PAGs */
-
-
-/* Machine / Operating system information */
-#define SYS_NAME       "ppc_linux22"
-#define SYS_NAME_ID    SYS_NAME_ID_ppc_linux22
-#define AFSBIG_ENDIAN    1
-#define AFS_HAVE_FFS        1       /* Use system's ffs. */
-#define AFS_HAVE_STATVFS    0  /* System doesn't support statvfs */
-#define AFS_VM_RDWR_ENV            1   /* read/write implemented via VM */
-
 #if defined(__KERNEL__) && !defined(KDUMP_KERNEL)
 #include <linux/config.h>
 #ifdef CONFIG_SMP
 #define AFS_GLOBAL_SUNLOCK
 #endif
 
+#if defined(MODULE) && defined(CONFIG_MODVERSIONS)
+#define MODVERSIONS
+#include <linux/modversions.h>
+#endif
 #endif /* __KERNEL__  && !DUMP_KERNEL*/
+#include <afs/afs_sysnames.h>
+
+#define AFS_USERSPACE_IP_ADDR 1
+#define RXK_LISTENER_ENV 1
+#define AFS_GCPAGS             0       /* if nonzero, garbage collect PAGs */
+
+
+/* Machine / Operating system information */
+#define SYS_NAME       "ppc_linux22"
+#define SYS_NAME_ID    SYS_NAME_ID_ppc_linux22
+#define AFSBIG_ENDIAN    1
+#define AFS_HAVE_FFS        1       /* Use system's ffs. */
+#define AFS_HAVE_STATVFS    0  /* System doesn't support statvfs */
+#define AFS_VM_RDWR_ENV            1   /* read/write implemented via VM */
+
 
 #ifdef KERNEL
 #ifndef MIN
index b88c0c01ea31cfe074589aba68024fb3d9eaca9f..183388f01189ef0fb5deaf3886b374eb8eb5fe32 100644 (file)
 #define AFS_SYSCALL 137
 #define AFS_64BIT_IOPS_ENV  1
 #define AFS_NAMEI_ENV     1   /* User space interface to file system */
+#include <linux/config.h>
+#ifdef CONFIG_SMP
+#undef CONFIG_SMP
+#endif
+/* Using "AFS_SMP" to map to however many #define's are required to get
+ * MP to compile for Linux
+ */
+#ifdef AFS_SMP
+#define CONFIG_SMP
+#define __SMP__
+#define AFS_GLOBAL_SUNLOCK
+#endif
+
+#if defined(MODULE) && defined(CONFIG_MODVERSIONS)
+#define MODVERSIONS
+#include <linux/modversions.h>
+#endif
+#endif /* __KERNEL__  && !DUMP_KERNEL*/
 #include <afs/afs_sysnames.h>
 
 #define AFS_USERSPACE_IP_ADDR 1
 #define AFS_VM_RDWR_ENV            1   /* read/write implemented via VM */
 
 #if defined(__KERNEL__) && !defined(KDUMP_KERNEL)
-#include <linux/config.h>
-#ifdef CONFIG_SMP
-#undef CONFIG_SMP
-#endif
-/* Using "AFS_SMP" to map to however many #define's are required to get
- * MP to compile for Linux
- */
-#ifdef AFS_SMP
-#define CONFIG_SMP
-#define __SMP__
-#define AFS_GLOBAL_SUNLOCK
-#endif
-
-#endif /* __KERNEL__  && !DUMP_KERNEL*/
 
 #ifdef KERNEL
 #ifndef MIN
index f0b4214d6f45af69f6caab4d105b26d9c0e47d0b..dc72d2624fc510573aef9fa0956ea70ff6fd415b 100644 (file)
 #define AFS_SYSCALL 227
 #define AFS_64BIT_IOPS_ENV  1
 #define AFS_NAMEI_ENV     1   /* User space interface to file system */
-#include <afs/afs_sysnames.h>
-
-#define AFS_USERSPACE_IP_ADDR 1
-#define RXK_LISTENER_ENV 1
-#define AFS_GCPAGS             0       /* if nonzero, garbage collect PAGs */
-
-
-/* Machine / Operating system information */
-#define SYS_NAME       "sparc_linux22"
-#define SYS_NAME_ID    SYS_NAME_ID_sparc_linux22
-#define AFSBIG_ENDIAN    1
-#define AFS_HAVE_FFS        1       /* Use system's ffs. */
-#define AFS_HAVE_STATVFS    0  /* System doesn't support statvfs */
-#define AFS_VM_RDWR_ENV            1   /* read/write implemented via VM */
-
 #if defined(__KERNEL__) && !defined(KDUMP_KERNEL)
 #include <linux/config.h>
 #ifdef CONFIG_SMP
 #define __SMP__
 #define AFS_GLOBAL_SUNLOCK
 #endif
+#if defined(MODULE) && defined(CONFIG_MODVERSIONS)
+#define MODVERSIONS
+#include <linux/modversions.h>
+#endif
 
 #endif /* __KERNEL__  && !DUMP_KERNEL*/
+#include <afs/afs_sysnames.h>
+
+#define AFS_USERSPACE_IP_ADDR 1
+#define RXK_LISTENER_ENV 1
+#define AFS_GCPAGS             0       /* if nonzero, garbage collect PAGs */
+
+
+/* Machine / Operating system information */
+#define SYS_NAME       "sparc_linux22"
+#define SYS_NAME_ID    SYS_NAME_ID_sparc_linux22
+#define AFSBIG_ENDIAN    1
+#define AFS_HAVE_FFS        1       /* Use system's ffs. */
+#define AFS_HAVE_STATVFS    0  /* System doesn't support statvfs */
+#define AFS_VM_RDWR_ENV            1   /* read/write implemented via VM */
+
 
 #ifdef KERNEL
 #ifndef MIN