Re: [PATCH] Stringify support commas
From: Sam Ravnborg
Date: Sun Apr 20 2008 - 15:06:16 EST
On Sun, Apr 20, 2008 at 02:32:56PM -0400, Mathieu Desnoyers wrote:
> #define MYDEF a, b, c
>
> __stringify(MYDEF) should be replaced by "a, b, c", but compilation fails
> because the __stringify macro expects only one argument. Fix it by using
> variable macro arguments in __stringify and __stringify_1.
>
> Needed in my current NMI safe iret paravirt support work so I can expand
> a macro containing assembly code into a string.
This is a no-no for those archs that still use -traditional.
I dunno if this is a problem for you at the moment and the
right fix is anyway to nuke -traditional.
Sam
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/