提交 d80d19bd 编写于 作者: O Oded Gabbay

amdkfd: fence_wait_timeout() can be static

Reviewed-by: NAlex Deucher <alexander.deucher@amd.com>
Signed-off-by: NOded Gabbay <oded.gabbay@amd.com>
上级 20981e68
...@@ -789,8 +789,9 @@ static int create_queue_cpsch(struct device_queue_manager *dqm, struct queue *q, ...@@ -789,8 +789,9 @@ static int create_queue_cpsch(struct device_queue_manager *dqm, struct queue *q,
return retval; return retval;
} }
int fence_wait_timeout(unsigned int *fence_addr, unsigned int fence_value, static int fence_wait_timeout(unsigned int *fence_addr,
unsigned long timeout) unsigned int fence_value,
unsigned long timeout)
{ {
BUG_ON(!fence_addr); BUG_ON(!fence_addr);
timeout += jiffies; timeout += jiffies;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册