[Intel-xe] [PATCH 14/30] maple_tree: Export mas_preallocate

Matthew Brost matthew.brost at intel.com
Mon May 1 07:50:58 UTC 2023


The DRM GPUVA implementation needs this function.

Signed-off-by: Matthew Brost <matthew.brost at intel.com>
---
 lib/maple_tree.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/lib/maple_tree.c b/lib/maple_tree.c
index 9e2735cbc2b4..ae37a167e25d 100644
--- a/lib/maple_tree.c
+++ b/lib/maple_tree.c
@@ -5726,6 +5726,7 @@ int mas_preallocate(struct ma_state *mas, gfp_t gfp)
 	mas_reset(mas);
 	return ret;
 }
+EXPORT_SYMBOL_GPL(mas_preallocate);
 
 /*
  * mas_destroy() - destroy a maple state.
-- 
2.34.1



More information about the Intel-xe mailing list