Skip to content

Commit c75aaa8

Browse files
Davidlohr Buesotorvalds
authored andcommitted
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>
1 parent 4130f0e commit c75aaa8

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

‎lib/rbtree_test.c‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -149,7 +149,7 @@ static void check_augmented(int nr_nodes)
149149
}
150150
}
151151

152-
static int rbtree_test_init(void)
152+
static int __init rbtree_test_init(void)
153153
{
154154
int i, j;
155155
cycles_t time1, time2, time;
@@ -222,7 +222,7 @@ static int rbtree_test_init(void)
222222
return -EAGAIN; /* Fail will directly unload the module */
223223
}
224224

225-
static void rbtree_test_exit(void)
225+
static void __exit rbtree_test_exit(void)
226226
{
227227
printk(KERN_ALERT "test exit\n");
228228
}

0 commit comments

Comments
 (0)