]> git.proxmox.com Git - mirror_spl-debian.git/commit
Added SPL_AC_5ARGS_DEVICE_CREATE autoconf configure check
authorBrian Behlendorf <behlendorf1@llnl.gov>
Fri, 13 Mar 2009 20:38:43 +0000 (13:38 -0700)
committerBrian Behlendorf <behlendorf1@llnl.gov>
Fri, 13 Mar 2009 20:38:43 +0000 (13:38 -0700)
commit8123ac4f0d7409cae209858d01803fb2744b51b6
tree7e2c28b3215d47eff289fcd309a62224427621fb
parenta0b5ae8acaaf63fa2378a6d062e66fdf99387625
Added SPL_AC_5ARGS_DEVICE_CREATE autoconf configure check

As of 2.6.27 kernels the device_create() API changed to include
a private data argument.  This check detects which version of
device_create() function the kernel has and properly defines
spl_device_create() to use the correct prototype.
config/spl-build.m4
configure
configure.ac
include/spl-device.h
spl_config.h.in