building against. Building an SMP module against a non-SMP kernel
fails due to missing defines. (Closes: #225907)
- 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)
--
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 <linux/config.h>