dnl # dnl # commit 752ade68cbd81d0321dfecc188f655a945551b25 dnl # treewide: use kv[mz]alloc* rather than opencoded variants dnl # AC_DEFUN([AC_AMDGPU_KVMALLOC_ARRAY], [ AC_KERNEL_DO_BACKGROUND([ AC_KERNEL_TRY_COMPILE([ #include ], [ kvmalloc_array(0, 0, 0); ], [ AC_DEFINE(HAVE_KVMALLOC_ARRAY, 1, [kvmalloc_array() is available]) ]) ]) ])