Commit 9b141c0
drm/amdkcl: fix kthread_use_mm/kthread_unuse_mm redefinition
error on sle sp2 server distro with kernel 5.3.18-24
define the kthread_use_mm for kcl only when it is
neither defined in kthread.c nor in mmu_context.h
Signed-off-by: Shiwu Zhang <shiwu.zhang@amd.com>1 parent b16c305 commit 9b141c0
File tree
2 files changed
+16
-6
lines changed- drivers/gpu/drm/amd/dkms/m4
- include/kcl
2 files changed
+16
-6
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
6 | | - | |
7 | | - | |
8 | | - | |
9 | | - | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
10 | 22 | | |
11 | 23 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
7 | | - | |
8 | 7 | | |
9 | | - | |
10 | 8 | | |
11 | 9 | | |
12 | 10 | | |
| |||
0 commit comments