forked from luck/tmp_suning_uos_patched
rbtree_test: add __init/__exit annotations
Signed-off-by: Davidlohr Bueso <davidlohr.bueso@hp.com> Reviewed-by: Michel Lespinasse <walken@google.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
This commit is contained in:
parent
4130f0efbf
commit
c75aaa8ed0
|
@ -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");
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user