]> git.michaelhowe.org Git - packages/o/openafs.git/commitdiff
* Apply upstream fix from Derek Atkins for compilation with kernel debian/1.4.1-4
authorRuss Allbery <rra@debian.org>
Sun, 9 Jul 2006 19:36:32 +0000 (19:36 +0000)
committerRuss Allbery <rra@debian.org>
Sun, 9 Jul 2006 19:36:32 +0000 (19:36 +0000)
  versions prior to 2.6.10.  (Closes: #376576)

debian/changelog
src/afs/LINUX/osi_probe.c

index 41b66fc69166e3db83aff1de08b34a12d8560453..672e5dd3c8de0b78ae8702cd9617f7597625c287 100644 (file)
@@ -1,3 +1,10 @@
+openafs (1.4.1-4) unstable; urgency=low
+
+  * Apply upstream fix from Derek Atkins for compilation with kernel
+    versions prior to 2.6.10.  (Closes: #376576)
+
+ -- Russ Allbery <rra@debian.org>  Sun,  9 Jul 2006 12:35:44 -0700
+
 openafs (1.4.1-3) unstable; urgency=low
 
   * Include all of AFS's local XDR implementation in the build for
index 3f27f0c01ba7b0735f58795bf11dd1393810c7f3..16ac2ac926f5f6a8d0c058d706385bd460d98488 100644 (file)
 
 /* Allow the user to specify sys_call_table addresses */
 static unsigned long sys_call_table_addr[4] = { 0,0,0,0 };
-#ifdef module_param_array
+#if defined(module_param_array) && LINUX_VERSION_CODE > KERNEL_VERSION(2,6,9)
 module_param_array(sys_call_table_addr, long, NULL, 0);
 #else
 MODULE_PARM(sys_call_table_addr, "1-4l");
@@ -134,7 +134,7 @@ MODULE_PARM(probe_carefully, "i");
 MODULE_PARM_DESC(probe_carefully, "Probe for system call tables carefully");
 
 static int probe_ignore_syscalls[8] = { -1, -1, -1, -1, -1, -1, -1, -1 };
-#ifdef module_param_array
+#if defined(module_param_array) && LINUX_VERSION_CODE > KERNEL_VERSION(2,6,9)
 module_param_array(probe_ignore_syscalls, int, NULL, 0);
 #else
 MODULE_PARM(probe_ignore_syscalls, "1-8i");
@@ -161,7 +161,7 @@ MODULE_PARM(probe_debug, "i");
 MODULE_PARM_DESC(probe_debug, "Debugging level");
 
 static unsigned long probe_debug_addr[4] = { 0,0,0,0 };
-#ifdef module_param_array
+#if defined(module_param_array) && LINUX_VERSION_CODE > KERNEL_VERSION(2,6,9)
 module_param_array(probe_debug_addr, long, NULL, 0);
 #else
 MODULE_PARM(probe_debug_addr, "1-4l");