aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOded Gabbay <[email protected]>2014-11-20 15:54:05 +0200
committerOded Gabbay <[email protected]>2014-11-20 15:54:05 +0200
commitd80d19bd5064692d40e9190ebadbd381f20d2969 (patch)
tree6a18c7830e7736a467b22f44dc155b1645414cf0
parent20981e68010c66187450b4a5a78b56b99d1f6f59 (diff)
amdkfd: fence_wait_timeout() can be static
Reviewed-by: Alex Deucher <[email protected]> Signed-off-by: Oded Gabbay <[email protected]>
-rw-r--r--drivers/gpu/drm/amd/amdkfd/kfd_device_queue_manager.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/drivers/gpu/drm/amd/amdkfd/kfd_device_queue_manager.c b/drivers/gpu/drm/amd/amdkfd/kfd_device_queue_manager.c
index 8c40d04932b2..718f50e81e28 100644
--- a/drivers/gpu/drm/amd/amdkfd/kfd_device_queue_manager.c
+++ b/drivers/gpu/drm/amd/amdkfd/kfd_device_queue_manager.c
@@ -789,8 +789,9 @@ out:
return retval;
}
-int fence_wait_timeout(unsigned int *fence_addr, unsigned int fence_value,
- unsigned long timeout)
+static int fence_wait_timeout(unsigned int *fence_addr,
+ unsigned int fence_value,
+ unsigned long timeout)
{
BUG_ON(!fence_addr);
timeout += jiffies;