Skip to content

Commit 9ee5a3b

Browse files
author
Matthew Wilcox
committed
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>
1 parent 8229706 commit 9ee5a3b

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

‎lib/xarray.c‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1334,7 +1334,7 @@ void *__xa_erase(struct xarray *xa, unsigned long index)
13341334
XA_STATE(xas, xa, index);
13351335
return xas_result(&xas, xas_store(&xas, NULL));
13361336
}
1337-
EXPORT_SYMBOL_GPL(__xa_erase);
1337+
EXPORT_SYMBOL(__xa_erase);
13381338

13391339
/**
13401340
* 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)
16741674
if (entry)
16751675
xas_set_mark(&xas, mark);
16761676
}
1677-
EXPORT_SYMBOL_GPL(__xa_set_mark);
1677+
EXPORT_SYMBOL(__xa_set_mark);
16781678

16791679
/**
16801680
* __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)
16921692
if (entry)
16931693
xas_clear_mark(&xas, mark);
16941694
}
1695-
EXPORT_SYMBOL_GPL(__xa_clear_mark);
1695+
EXPORT_SYMBOL(__xa_clear_mark);
16961696

16971697
/**
16981698
* xa_get_mark() - Inquire whether this mark is set on this entry.

0 commit comments

Comments
 (0)