]> git.baikalelectronics.ru Git - kernel.git/commit
drm/radeon: remove volatile qualifier
authorGrazvydas Ignotas <notasas@gmail.com>
Sun, 23 Aug 2015 00:57:38 +0000 (03:57 +0300)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 2 Oct 2015 20:08:30 +0000 (16:08 -0400)
commitcbd1bc94a5471789794d66a378123f0246170d46
treef41dd3a96db53a12fb38b9337ba5e0bb4b141b1d
parent6dc5d1b18a881a9f59c01a11b8d5640e8c829ca9
drm/radeon: remove volatile qualifier

There doesn't seem to be any need to have 'ib' volatile, the code is
not even consistent with it and some places already miss it. As it is
now it's just making gcc produce worse code. If there are special
requirements for that memory, then proper primitives like memory
barriers or accessor functions should be used, but it doesn't look
like that is needed here.
While at it, change the type to match the one in radeon_ib structure.

Reviewed-by: Dave Airlie <airlied@redhat.com>
Signed-off-by: Grazvydas Ignotas <notasas@gmail.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/radeon/evergreen_cs.c