Commit c75aaa8e authored by Davidlohr Bueso's avatar Davidlohr Bueso Committed by Linus Torvalds

rbtree_test: add __init/__exit annotations

Signed-off-by: default avatarDavidlohr Bueso <davidlohr.bueso@hp.com>
Reviewed-by: default avatarMichel Lespinasse <walken@google.com>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent 4130f0ef
...@@ -149,7 +149,7 @@ static void check_augmented(int nr_nodes) ...@@ -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; int i, j;
cycles_t time1, time2, time; cycles_t time1, time2, time;
...@@ -222,7 +222,7 @@ static int rbtree_test_init(void) ...@@ -222,7 +222,7 @@ static int rbtree_test_init(void)
return -EAGAIN; /* Fail will directly unload the module */ 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"); printk(KERN_ALERT "test exit\n");
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment