dnl # dnl # commit d219adc1228a3887486b58a430e736b0831f192c dnl # fb: add hooks to handle KDB enter/exit dnl # AC_DEFUN([AC_AMDGPU_FB_OPS_FB_DEBUG_XX], [AC_MSG_CHECKING([whether fb_ops->fb_debug_xx is available]) AC_KERNEL_TRY_COMPILE([ #include #include ],[ struct fb_ops *ptest = NULL; ptest->fb_debug_enter = NULL; ptest->fb_debug_leave = NULL; ],[ AC_MSG_RESULT(yes) AC_DEFINE(HAVE_FB_OPS_FB_DEBUG_XX, 1, [fb_ops->fb_debug_xx is available]) ],[ AC_MSG_RESULT(no) ]) ])