Re: [RFC][PATCH] Add EXPORT_MACRO_SYMBOL() for asm

From: Steven Rostedt
Date: Mon Oct 24 2016 - 10:14:58 EST


On Mon, 24 Oct 2016 12:25:45 +1100
Nicholas Piggin <npiggin@xxxxxxxxx> wrote:


> Yes it's grepping for EXPORT_SYMBOL_* I think. If you need to
> create a new name, EXPORT_SYMBOL prefix would be preferred. But
> yeah if you make the standard macro do macro expansion, it
> should just work, no?

Unfortunately, that's not enough. There's some magic in the Makefile
that seems to use the names found in EXPORT_SYMBOL*, which fails when
that name is just a macro to another name.

I'm just going to punt and include both names depending on the config.

-- Steve