drm/radeon: check new address before removing old one
authorChristian König <christian.koenig@amd.com>
Mon, 27 Apr 2015 15:04:36 +0000 (17:04 +0200)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 27 Apr 2015 15:29:56 +0000 (11:29 -0400)
commitc29c0876ec05d51a93508a39b90b92c29ba6423d
tree3223b5c64ff0d798634fd0f4f8a7fb587aa0e551
parent48afbd70ac7b6aa62e8d452091023941d8085f8a
drm/radeon: check new address before removing old one

Otherwise the change isn't atomic.

Signed-off-by: Christian König <christian.koenig@amd.com>
CC: stable@vger.kernel.org
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/radeon/radeon_vm.c