drm/amdgpu: use div64_ul for 32-bit compatibility v1
authorSlava Abramov <slava.abramov@amd.com>
Thu, 16 May 2019 20:17:53 +0000 (16:17 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 24 May 2019 17:21:01 +0000 (12:21 -0500)
commitd6ee400e793f0ae6c9f5926bea9fbb362a950d96
tree148f87fbaf15e7583993dd1c3c40b843dde1816e
parenta254bfa2c5fbd46165010cd6c29a4ad7638b8772
drm/amdgpu: use div64_ul for 32-bit compatibility v1

v1: replace casting to unsigned long with div64_ul

Acked-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Slava Abramov <slava.abramov@amd.com>
Tested-by: Slava Abramov <slava.abramov@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c