aboutsummaryrefslogtreecommitdiffstats
path: root/config
diff options
context:
space:
mode:
Diffstat (limited to 'config')
-rw-r--r--config/spl-build.m41
1 files changed, 1 insertions, 0 deletions
diff --git a/config/spl-build.m4 b/config/spl-build.m4
index 3ed0e8fd0..94e692a8b 100644
--- a/config/spl-build.m4
+++ b/config/spl-build.m4
@@ -1537,6 +1537,7 @@ AC_DEFUN([SPL_AC_MUTEX_OWNER], [
EXTRA_KCFLAGS="-Werror"
SPL_LINUX_TRY_COMPILE([
#include <linux/mutex.h>
+ #include <linux/spinlock.h>
],[
DEFINE_MUTEX(m);
struct task_struct *t __attribute__ ((unused));