]> git.proxmox.com Git - mirror_spl.git/commit
Fix HAVE_MUTEX_OWNER test for kernels prior to 4.6
authorTim Chase <tim@chase2k.com>
Mon, 1 Aug 2016 13:19:19 +0000 (08:19 -0500)
committerBrian Behlendorf <behlendorf1@llnl.gov>
Mon, 1 Aug 2016 19:45:08 +0000 (12:45 -0700)
commit576865be20ce4a0d4365cd62a589edec070fe08c
tree30f48499eebc50670892deed30f0f7670c77895e
parent4b9dddf43084306de34394d666b874b912ca42ca
Fix HAVE_MUTEX_OWNER test for kernels prior to 4.6

Recent 4.X kernels prior to 4.6 require #include of spinlock.h in
order to get the definition of __ARCH_SPIN_LOCK_UNLOCKED which is
used by DEFINE_MUTEX().

Signed-off-by: Tim Chase <tim@chase2k.com>
Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
Closes #566
config/spl-build.m4