]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amdgpu: fix compile error on architecture s390 (v2)
authorOak Zeng <Oak.Zeng@amd.com>
Wed, 10 Mar 2021 19:09:42 +0000 (13:09 -0600)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 24 Mar 2021 03:29:21 +0000 (23:29 -0400)
commit5414e4548ced861582450c89e6d7243c23be6540
treef5b6e03874d9d21a53ded9fb44d96a091d14ff9a
parent50e5ac5cd2e9f1fe9545291da6b48cafa10065ee
drm/amdgpu: fix compile error on architecture s390 (v2)

ioremap_cache is not supported on some architecture
such as s390. Put the codes into a #ifdef to fix
some compile error reported by test robot.

v2: squash in non-x86 fix

Signed-off-by: Oak Zeng <Oak.Zeng@amd.com>
Reported-by: Kernel test robot <lkp@intel.com>
Reviewed-by: Christian Konig <christian.koenig@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c