]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amdkfd: Fix if preprocessor statement above kfd_fill_iolink_info_for_cpu
authorNathan Chancellor <natechancellor@gmail.com>
Mon, 21 Jan 2019 23:52:15 +0000 (16:52 -0700)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 5 Feb 2019 23:10:28 +0000 (18:10 -0500)
commitcb8ddb97b08f31d54a60f8b122d6e758931d1a9e
treef894e12ff6a89edaa4c89c09e90ef0aa7fa7b0e2
parent1701c94baf652b5024c1d26d7e91d61394c91566
drm/amdkfd: Fix if preprocessor statement above kfd_fill_iolink_info_for_cpu

Clang warns:

drivers/gpu/drm/amd/amdgpu/../amdkfd/kfd_crat.c:866:5: warning:
'CONFIG_X86_64' is not defined, evaluates to 0 [-Wundef]
    ^
1 warning generated.

Fixes: b21ffc495f71 ("drm/amdkfd: Allow building KFD on ARM64 (v2)")
Signed-off-by: Nathan Chancellor <natechancellor@gmail.com>
Reviewed-by: Felix Kuehling <Felix.Kuehling@amd.com>
Signed-off-by: Felix Kuehling <Felix.Kuehling@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdkfd/kfd_crat.c