diff options
author | Brian Behlendorf <[email protected]> | 2009-03-13 13:38:43 -0700 |
---|---|---|
committer | Brian Behlendorf <[email protected]> | 2009-03-13 13:38:43 -0700 |
commit | 8123ac4f0d7409cae209858d01803fb2744b51b6 (patch) | |
tree | 7e2c28b3215d47eff289fcd309a62224427621fb /configure.ac | |
parent | a0b5ae8acaaf63fa2378a6d062e66fdf99387625 (diff) |
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.
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac index 7409cba6e..623d54dd5 100644 --- a/configure.ac +++ b/configure.ac @@ -54,6 +54,7 @@ SPL_AC_TASK_CURR SPL_AC_CTL_UNNUMBERED SPL_AC_FLS64 SPL_AC_DEVICE_CREATE +SPL_AC_5ARGS_DEVICE_CREATE SPL_AC_CLASS_DEVICE_CREATE SPL_AC_SET_NORMALIZED_TIMESPEC_EXPORT SPL_AC_SET_NORMALIZED_TIMESPEC_INLINE |