lkml.org 
[lkml]   [2012]   [Oct]   [23]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH v2] init: Use the stringify operator for the __define_initcall macro
On Tue, 23 Oct 2012 21:00:29 +0100
Matthew Leach <matthew@mattleach.net> 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@mattleach.net>
> ---
> 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?


\
 
 \ /
  Last update: 2012-10-24 00:41    [W:0.121 / U:0.156 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site