From: Josh Triplett Date: Tue, 8 May 2007 07:25:24 +0000 (-0700) Subject: rcutorture: Mark rcu_torture_init as __init X-Git-Tag: v2.6.22-rc1~766 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6f8bc500a10ab9cb3861e5bb71155d7bd2bbd2d5;p=linux-2.6 rcutorture: Mark rcu_torture_init as __init The corresponding rcu_torture_cleanup cannot get marked as __exit, because rcu_torture_init uses it to clean up if init fails. Signed-off-by: Josh Triplett Acked-by: "Paul E. McKenney" Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- diff --git a/kernel/rcutorture.c b/kernel/rcutorture.c index bcd14e83ef..75ca2a7404 100644 --- a/kernel/rcutorture.c +++ b/kernel/rcutorture.c @@ -866,7 +866,7 @@ rcu_torture_cleanup(void) rcu_torture_print_module_parms("End of test: SUCCESS"); } -static int +static int __init rcu_torture_init(void) { int i;