dnl # dnl # commit 7dea19f9ee636cb244109a4dba426bbb3e5304b7 dnl # mm: introduce memalloc_nofs_{save,restore} API dnl # AC_DEFUN([AC_AMDGPU_MEMALLOC_NOFS_SAVE], [ AC_KERNEL_DO_BACKGROUND([ AC_KERNEL_TRY_COMPILE([ #include ], [ memalloc_nofs_save(); memalloc_nofs_restore(0); ], [ AC_DEFINE(HAVE_MEMALLOC_NOFS_SAVE, 1, [memalloc_nofs_{save,restore}() are available]) ]) ]) ])