diff options
| author | Geert Uytterhoeven <[email protected]> | 2021-06-18 08:24:04 -0700 |
|---|---|---|
| committer | Darrick J. Wong <[email protected]> | 2021-06-18 08:24:19 -0700 |
| commit | 18842e0a4f48564bbed541947abd8131fd0e9734 (patch) | |
| tree | 38e80938cb8899ecf5ec17ffae6a1aac5355810c /drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c | |
| parent | a6a65fef5ef8d0a6a0ce514eb66b2f3dfa777b48 (diff) | |
xfs: Fix 64-bit division on 32-bit in xlog_state_switch_iclogs()
On 32-bit (e.g. m68k):
ERROR: modpost: "__udivdi3" [fs/xfs/xfs.ko] undefined!
Fix this by using a uint32_t intermediate, like before.
Reported-by: [email protected]
Fixes: 7660a5b48fbef958 ("xfs: log stripe roundoff is a property of the log")
Signed-off-by: Geert Uytterhoeven <[email protected]>
Reviewed-by: Dave Chinner <[email protected]>
Reviewed-by: Darrick J. Wong <[email protected]>
Signed-off-by: Darrick J. Wong <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c')
0 files changed, 0 insertions, 0 deletions