linux-next: build failure after merge of the xarray tree
From: Stephen Rothwell
Date: Thu Oct 08 2020 - 02:55:51 EST
Hi all,
After merging the xarray tree, today's linux-next build (x86_64
allmodconfig) failed like this:
ERROR: modpost: "xa_delete_node" [lib/test_xarray.ko] undefined!
Caused by commit
e95150e70fe1 ("XArray: Add private interface for workingset node deletion")
I have added the following hack for today:
From: Stephen Rothwell <sfr@xxxxxxxxxxxxxxxx>
Date: Thu, 8 Oct 2020 17:52:11 +1100
Subject: [PATCH] XArray: export xa_delete_node()
Signed-off-by: Stephen Rothwell <sfr@xxxxxxxxxxxxxxxx>
---
lib/xarray.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/lib/xarray.c b/lib/xarray.c
index 3f0b143bfdcd..be9166b45db3 100644
--- a/lib/xarray.c
+++ b/lib/xarray.c
@@ -1993,6 +1993,7 @@ void xa_delete_node(struct xa_node *node, xa_update_node_t update)
xas_store(&xas, NULL);
}
+EXPORT_SYMBOL(xa_delete_node);
/**
* xa_destroy() - Free all internal data structures.
--
2.28.0
--
Cheers,
Stephen Rothwell
Attachment:
pgpa8GOZW1cNf.pgp
Description: OpenPGP digital signature