From: Davidlohr Bueso Date: Tue, 30 Apr 2013 22:28:25 +0000 (-0700) Subject: rbtree_test: add __init/__exit annotations X-Git-Url: https://openfabrics.org/gitweb/?a=commitdiff_plain;h=c75aaa8ed03eb1312ed2990f1a716b2b9cc0df42;p=~shefty%2Frdma-dev.git rbtree_test: add __init/__exit annotations Signed-off-by: Davidlohr Bueso Reviewed-by: Michel Lespinasse Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- diff --git a/lib/rbtree_test.c b/lib/rbtree_test.c index 99515038ff6..122f02f9941 100644 --- a/lib/rbtree_test.c +++ b/lib/rbtree_test.c @@ -149,7 +149,7 @@ static void check_augmented(int nr_nodes) } } -static int rbtree_test_init(void) +static int __init rbtree_test_init(void) { int i, j; cycles_t time1, time2, time; @@ -222,7 +222,7 @@ static int rbtree_test_init(void) return -EAGAIN; /* Fail will directly unload the module */ } -static void rbtree_test_exit(void) +static void __exit rbtree_test_exit(void) { printk(KERN_ALERT "test exit\n"); }