diff options
author | Matthew Wilcox <willy@infradead.org> | 2018-11-01 22:52:06 -0400 |
---|---|---|
committer | Matthew Wilcox <willy@infradead.org> | 2018-11-05 14:56:58 -0500 |
commit | 9ee5a3b7eeb190eb413e0fac3246022bd1baa05d (patch) | |
tree | d80df36044615703a53ef165e13f1e16d7ca3db5 /lib/xarray.c | |
parent | 8229706e03e4147f3e22d1de0d30630cde6d18a9 (diff) |
XArray: Export __xa_foo to non-GPL modules
Without this, it's not possible to use static inlines like xa_store_bh()
and xa_erase_irq().
Signed-off-by: Matthew Wilcox <willy@infradead.org>
Diffstat (limited to 'lib/xarray.c')
-rw-r--r-- | lib/xarray.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/xarray.c b/lib/xarray.c index c991ff4523ef..e7be4e47c6a9 100644 --- a/lib/xarray.c +++ b/lib/xarray.c | |||
@@ -1334,7 +1334,7 @@ void *__xa_erase(struct xarray *xa, unsigned long index) | |||
1334 | XA_STATE(xas, xa, index); | 1334 | XA_STATE(xas, xa, index); |
1335 | return xas_result(&xas, xas_store(&xas, NULL)); | 1335 | return xas_result(&xas, xas_store(&xas, NULL)); |
1336 | } | 1336 | } |
1337 | EXPORT_SYMBOL_GPL(__xa_erase); | 1337 | EXPORT_SYMBOL(__xa_erase); |
1338 | 1338 | ||
1339 | /** | 1339 | /** |
1340 | * xa_store() - Store this entry in the XArray. | 1340 | * xa_store() - Store this entry in the XArray. |
@@ -1674,7 +1674,7 @@ void __xa_set_mark(struct xarray *xa, unsigned long index, xa_mark_t mark) | |||
1674 | if (entry) | 1674 | if (entry) |
1675 | xas_set_mark(&xas, mark); | 1675 | xas_set_mark(&xas, mark); |
1676 | } | 1676 | } |
1677 | EXPORT_SYMBOL_GPL(__xa_set_mark); | 1677 | EXPORT_SYMBOL(__xa_set_mark); |
1678 | 1678 | ||
1679 | /** | 1679 | /** |
1680 | * __xa_clear_mark() - Clear this mark on this entry while locked. | 1680 | * __xa_clear_mark() - Clear this mark on this entry while locked. |
@@ -1692,7 +1692,7 @@ void __xa_clear_mark(struct xarray *xa, unsigned long index, xa_mark_t mark) | |||
1692 | if (entry) | 1692 | if (entry) |
1693 | xas_clear_mark(&xas, mark); | 1693 | xas_clear_mark(&xas, mark); |
1694 | } | 1694 | } |
1695 | EXPORT_SYMBOL_GPL(__xa_clear_mark); | 1695 | EXPORT_SYMBOL(__xa_clear_mark); |
1696 | 1696 | ||
1697 | /** | 1697 | /** |
1698 | * xa_get_mark() - Inquire whether this mark is set on this entry. | 1698 | * xa_get_mark() - Inquire whether this mark is set on this entry. |