]> git.proxmox.com Git - mirror_spl-debian.git/commit
Fix HAVE_MUTEX_OWNER_TASK_STRUCT autotools check on PPC64
authorRichard Yao <ryao@cs.stonybrook.edu>
Tue, 5 Feb 2013 21:42:29 +0000 (16:42 -0500)
committerBrian Behlendorf <behlendorf1@llnl.gov>
Tue, 5 Feb 2013 23:36:03 +0000 (15:36 -0800)
commita0625691b39468d04eb716919e237f96a3987b48
treeac9a423004500e03ccdcc61a741fe768bf1d9f26
parentdd3678fc29d75286b57e705454bbd7e60e1b44e0
Fix HAVE_MUTEX_OWNER_TASK_STRUCT autotools check on PPC64

The HAVE_MUTEX_OWNER_TASK_STRUCT fails on PPC64 with the following
error:

error: 'current' undeclared (first use in this function)

We include linux/sched.h to ensure that current is available.

Signed-off-by: Richard Yao <ryao@cs.stonybrook.edu>
Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
config/spl-build.m4