mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] dma-buf: use wake_up_process() instead of wake_up_state()
@ 2021-03-19  2:58 Wang Qing
  2021-03-19  8:07 ` Christian König
  0 siblings, 1 reply; 3+ messages in thread
From: Wang Qing @ 2021-03-19  2:58 UTC (permalink / raw)
  To: Sumit Semwal, Gustavo Padovan, Christian König, linux-media,
	dri-devel, linaro-mm-sig, linux-kernel
  Cc: Wang Qing

Using wake_up_process() is more simpler and friendly, 
and it is more convenient for analysis and statistics

Signed-off-by: Wang Qing <wangqing@vivo.com>
---
 drivers/dma-buf/dma-fence.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/dma-buf/dma-fence.c b/drivers/dma-buf/dma-fence.c
index 7475e09..de51326
--- a/drivers/dma-buf/dma-fence.c
+++ b/drivers/dma-buf/dma-fence.c
@@ -655,7 +655,7 @@ dma_fence_default_wait_cb(struct dma_fence *fence, struct dma_fence_cb *cb)
 	struct default_wait_cb *wait =
 		container_of(cb, struct default_wait_cb, base);
 
-	wake_up_state(wait->task, TASK_NORMAL);
+	wake_up_process(wait->task);
 }
 
 /**
-- 
2.7.4


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2021-03-19  8:17 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-03-19  2:58 [PATCH] dma-buf: use wake_up_process() instead of wake_up_state() Wang Qing
2021-03-19  8:07 ` Christian König
2021-03-19  8:17   ` 王擎

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®