Commit:     6f8bc500a10ab9cb3861e5bb71155d7bd2bbd2d5
Parent:     e3222c4ecc649c4ae568e61dda9349482401b501
Author:     Josh Triplett <[EMAIL PROTECTED]>
AuthorDate: Tue May 8 00:25:24 2007 -0700
Committer:  Linus Torvalds <[EMAIL PROTECTED]>
CommitDate: Tue May 8 11:15:00 2007 -0700

    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 <[EMAIL PROTECTED]>
    Acked-by: "Paul E. McKenney" <[EMAIL PROTECTED]>
    Signed-off-by: Andrew Morton <[EMAIL PROTECTED]>
    Signed-off-by: Linus Torvalds <[EMAIL PROTECTED]>
 kernel/rcutorture.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/kernel/rcutorture.c b/kernel/rcutorture.c
index bcd14e8..75ca2a7 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
        int i;
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at

Reply via email to