diff options
author | Josh Triplett <josh@freedesktop.org> | 2007-05-08 03:25:24 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-05-08 14:15:00 -0400 |
commit | 6f8bc500a10ab9cb3861e5bb71155d7bd2bbd2d5 (patch) | |
tree | d1f593511ebc5f57a620bb94a77cc14acba7141e /kernel/rcutorture.c | |
parent | e3222c4ecc649c4ae568e61dda9349482401b501 (diff) |
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 <josh@freedesktop.org>
Acked-by: "Paul E. McKenney" <paulmck@us.ibm.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'kernel/rcutorture.c')
-rw-r--r-- | kernel/rcutorture.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/rcutorture.c b/kernel/rcutorture.c index bcd14e83ef39..75ca2a740471 100644 --- a/kernel/rcutorture.c +++ b/kernel/rcutorture.c | |||
@@ -866,7 +866,7 @@ rcu_torture_cleanup(void) | |||
866 | rcu_torture_print_module_parms("End of test: SUCCESS"); | 866 | rcu_torture_print_module_parms("End of test: SUCCESS"); |
867 | } | 867 | } |
868 | 868 | ||
869 | static int | 869 | static int __init |
870 | rcu_torture_init(void) | 870 | rcu_torture_init(void) |
871 | { | 871 | { |
872 | int i; | 872 | int i; |