2 dnl # 2.6.22 API change
3 dnl # Unused destroy_dirty_buffers arg removed from prototype.
5 AC_DEFUN([ZFS_AC_KERNEL_INVALIDATE_BDEV_ARGS], [
6 AC_MSG_CHECKING([whether invalidate_bdev() wants 1 arg])
7 ZFS_LINUX_TRY_COMPILE([
8 #include <linux/buffer_head.h>
10 struct block_device *bdev = NULL;
11 invalidate_bdev(bdev);
14 AC_DEFINE(HAVE_1ARG_INVALIDATE_BDEV, 1,
15 [invalidate_bdev() wants 1 arg])