From: Russ Allbery Date: Tue, 10 May 2005 01:37:31 +0000 (+0000) Subject: * In all cases, only build the module appropriate to the kernel we're X-Git-Tag: debian/1.3.82-1~10 X-Git-Url: https://git.michaelhowe.org/gitweb/?a=commitdiff_plain;h=072bfd58ad63b9646aa215ae01d13d0bd74549db;p=packages%2Fo%2Fopenafs.git * In all cases, only build the module appropriate to the kernel we're building against. Building an SMP module against a non-SMP kernel fails due to missing defines. (Closes: #225907) --- diff --git a/debian/changelog b/debian/changelog index 30d05baa3..9ad5bf6d2 100644 --- a/debian/changelog +++ b/debian/changelog @@ -4,6 +4,9 @@ openafs (1.3.82-1) unstable; urgency=low - Proper locking for preempt kernels. This bug manifested as an inability to shut down AFS cleanly. (Closes: #308399, #304040) - Correctly handle the inotify semaphore. (Closes: #303495) + * In all cases, only build the module appropriate to the kernel we're + building against. Building an SMP module against a non-SMP kernel + fails due to missing defines. (Closes: #225907) -- diff --git a/src/cf/linux-test3.m4 b/src/cf/linux-test3.m4 index 58360f655..dee92c9ae 100644 --- a/src/cf/linux-test3.m4 +++ b/src/cf/linux-test3.m4 @@ -53,11 +53,6 @@ lose; ac_cv_linux_config_modversions=no)]) AC_MSG_RESULT($ac_cv_linux_config_modversions) AC_MSG_CHECKING(which kernel modules to build) - if false; then - MPS="MP SP" - elif test "x$ac_cv_linux_config_modversions" = "xno" -a "$AFS_SYSKVERS" -lt 26; then - MPS="MP SP" - else AC_CACHE_VAL(ac_cv_linux_config_smp, [ AC_TRY_COMPILE( [#include