]> git.proxmox.com Git - mirror_zfs-debian.git/blob - config/kernel-get-gendisk.m4
Move partition scanning from userspace to module.
[mirror_zfs-debian.git] / config / kernel-get-gendisk.m4
1 dnl #
2 dnl # 2.6.34 API change
3 dnl # Verify the get_gendisk() symbol is exported.
4 dnl #
5 AC_DEFUN([ZFS_AC_KERNEL_GET_GENDISK], [
6 ZFS_CHECK_SYMBOL_EXPORT(
7 [get_gendisk],
8 [block/genhd.c],
9 [AC_DEFINE(HAVE_GET_GENDISK, 1, [get_gendisk() is available])],
10 [])
11 ])