init/main.c: mark do_one_initcall* as __init_or_module
authorKevin Winchester <kjwinchester@gmail.com>
Tue, 10 Aug 2010 00:20:32 +0000 (17:20 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Tue, 10 Aug 2010 03:45:06 +0000 (20:45 -0700)
commite446127134de06c4aceaa511f411d06eac91634b
tree7e685b71d8ed98cf712e1a88111c4613bc6f1847
parent22c5c03b42c082ab57b5d24824769ada0d90f8dc
init/main.c: mark do_one_initcall* as __init_or_module

Andrew Morton suggested that the do_one_initcall and do_one_initcall_debug
functions can be marked __init_or_module such that they can be discarded
for the CONFIG_MODULES=N case.

Signed-off-by: Kevin Winchester <kjwinchester@gmail.com>
Cc: Ingo Molnar <mingo@elte.hu>
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>
init/main.c