From f2e5227422469c87f868608e8342be4d7fcdc873 Mon Sep 17 00:00:00 2001 From: "T.J. Mercier" Date: Mon, 15 Apr 2024 20:39:48 +0000 Subject: [PATCH] ANDROID: Export swiotlb_find_pool This is necessary for modules to be able to call is_swiotlb_buffer. Bug: 289327060 Change-Id: I98053f3f176478f89023218512180787d92efe44 Signed-off-by: T.J. Mercier --- kernel/dma/swiotlb.c | 1 + 1 file changed, 1 insertion(+) diff --git a/kernel/dma/swiotlb.c b/kernel/dma/swiotlb.c index 0de66f0ff43a..93c4ebce206e 100644 --- a/kernel/dma/swiotlb.c +++ b/kernel/dma/swiotlb.c @@ -792,6 +792,7 @@ out: rcu_read_unlock(); return pool; } +EXPORT_SYMBOL_GPL(swiotlb_find_pool); /** * swiotlb_del_pool() - remove an IO TLB pool from a device