Re: [PATCH v2] init: Use the stringify operator for the__define_initcall macro

From: Andrew Morton
Date: Tue Oct 23 2012 - 18:16:52 EST


On Tue, 23 Oct 2012 21:00:29 +0100
Matthew Leach <matthew@xxxxxxxxxxxxx> wrote:

> Currently the __define_initcall macro takes three arguments, fn, id
> and level. The level argument is exactly the same as the id argument
> but wrapped in quotes. To overcome this need to specify three
> arguments to the __define_initcall macro, where one argument is the
> stringification of another, we can just use the stringification macro
> instead.
>
> Signed-off-by: Matthew Leach <matthew@xxxxxxxxxxxxx>
> ---
> v2: Fix a build error where the ppc arch also uses the
> __define_initcall macro. Also fix some styling issues.

OK, let's try that.

Is arch/um/include/shared/init.h OK as-is?
--
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/