Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

+3 -3
+3 -3
lib/xarray.c
··· 1334 1334 XA_STATE(xas, xa, index); 1335 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 1340 * xa_store() - Store this entry in the XArray. ··· 1674 1674 if (entry) 1675 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 1680 * __xa_clear_mark() - Clear this mark on this entry while locked. ··· 1692 1692 if (entry) 1693 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 1698 * xa_get_mark() - Inquire whether this mark is set on this entry.