]> git.baikalelectronics.ru Git - kernel.git/commit
include/linux/init.h: use the stringify operator for the __define_initcall macro
authorMatthew Leach <matthew@mattleach.net>
Mon, 17 Dec 2012 23:59:32 +0000 (15:59 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Tue, 18 Dec 2012 01:15:12 +0000 (17:15 -0800)
commit443635b5c484ad52793a5d86cbd60f616c17216a
tree5c94b07b1d60cbf2499ec59f89c61a2113ea753f
parent526f6bab446c28919b6213895861b8acf7c55392
include/linux/init.h: use the stringify operator for the __define_initcall macro

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>
Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Cc: Rusty Russell <rusty@rustcorp.com.au>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
arch/powerpc/include/asm/machdep.h
include/linux/init.h