-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
drm/amdkcl: test kthread_{use,unuse}_mm()
introduced in commit f5678e7 ("kernel: better document the use_mm/unuse_mm API contract") Signed-off-by: Flora Cui <flora.cui@amd.com>
- Loading branch information
Flora Cui
authored and
Kent Russell
committed
Oct 21, 2020
1 parent
38cd43f
commit 6cf15df
Showing
3 changed files
with
29 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
dnl # | ||
dnl # f5678e7f2ac3 kernel: better document the use_mm/unuse_mm API contract | ||
dnl # 9bf5b9eb232b kernel: move use_mm/unuse_mm to kthread.c | ||
dnl # | ||
AC_DEFUN([AC_AMDGPU_KTHREAD_USE_MM], [ | ||
AC_KERNEL_CHECK_SYMBOL_EXPORT([kthread_use_mm kthread_unuse_mm], | ||
[kernel/kthread.c], [ | ||
AC_DEFINE(HAVE_KTHREAD_USE_MM, 1, | ||
[kthread_{use,unuse}_mm() is available]) | ||
]) | ||
]) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters