From 3f3b52319d75d9cd22e14979cef4f4af192bd7f6 Mon Sep 17 00:00:00 2001 From: Jacky Liu Date: Tue, 2 Jul 2024 10:03:24 +0800 Subject: [PATCH] ANDROID: Export raise_softirq MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Pending softirq won’t block turning off idle tick, so it will take longer to be handled. This is for power saving purposes but has extra delay. From above, it needs to export raise_softirq for external module to speed up the time sensitive event. Bug: 342105533 Change-Id: Icfe46aeb62b7feea19396a210e930f72f402369c Signed-off-by: Jacky Liu (cherry picked from commit 0935fda826e02c4fc645164d40f186f1bfb21a3f) --- kernel/softirq.c | 1 + 1 file changed, 1 insertion(+) diff --git a/kernel/softirq.c b/kernel/softirq.c index a2841ae39525..92474f654c19 100644 --- a/kernel/softirq.c +++ b/kernel/softirq.c @@ -734,6 +734,7 @@ void raise_softirq(unsigned int nr) raise_softirq_irqoff(nr); local_irq_restore(flags); } +EXPORT_SYMBOL_GPL(raise_softirq); void __raise_softirq_irqoff(unsigned int nr) {