openwrt-cghmn-mt300n/target/linux/starfive/patches-6.6/0091-workqueue-Enable-flush_scheduled_work.patch
Zoltan HERPAI e2e2fc3cd0 starfive: add patches for 6.6
Add updated patches for 6.6. DMA/cache-handling patches
have been reworked / backported from upstream.

Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>
2024-09-03 00:03:19 +02:00

23 lines
739 B
Diff

From ab436ea7ffb6c464616addad98632c81a321844a Mon Sep 17 00:00:00 2001
From: Hal Feng <hal.feng@starfivetech.com>
Date: Tue, 12 Dec 2023 17:56:58 +0800
Subject: [PATCH 091/116] workqueue: Enable flush_scheduled_work()
Enable flush_scheduled_work() for JH7110 GPU.
Signed-off-by: Hal Feng <hal.feng@starfivetech.com>
---
include/linux/workqueue.h | 1 -
1 file changed, 1 deletion(-)
--- a/include/linux/workqueue.h
+++ b/include/linux/workqueue.h
@@ -636,7 +636,6 @@ extern void __warn_flushing_systemwide_w
/* Please stop using this function, for this function will be removed in near future. */
#define flush_scheduled_work() \
({ \
- __warn_flushing_systemwide_wq(); \
__flush_workqueue(system_wq); \
})