Re: [RFC][PATCH 8/8] module: Provide EXPORT_SYMBOL*_FOR() helpers

2024-11-11 Thread Christoph Hellwig
On Mon, Nov 11, 2024 at 11:54:38AM +0100, Peter Zijlstra wrote: > +#define EXPORT_SYMBOL_FOR(sym, mods) EXPORT_SYMBOL_NS(sym, "MODULE_" mods) I don't think we need a non-_GPL version of this, as the exports obviously are for in-tree modules only.

[RFC][PATCH 8/8] module: Provide EXPORT_SYMBOL*_FOR() helpers

2024-11-11 Thread Peter Zijlstra
Because Christoph and Masahiro-san asked for it :-) Signed-off-by: Peter Zijlstra (Intel) --- include/linux/export.h |3 +++ 1 file changed, 3 insertions(+) --- a/include/linux/export.h +++ b/include/linux/export.h @@ -70,4 +70,7 @@ #define EXPORT_SYMBOL_NS(sym, ns) __EXPORT_SYMBOL(sy