Skip to content

Commit

Permalink
rbtree_test: add __init/__exit annotations
Browse files Browse the repository at this point in the history
Signed-off-by: Davidlohr Bueso <[email protected]>
Reviewed-by: Michel Lespinasse <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
  • Loading branch information
Davidlohr Bueso authored and torvalds committed May 1, 2013
1 parent 4130f0e commit c75aaa8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/rbtree_test.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down Expand Up @@ -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");
}
Expand Down

0 comments on commit c75aaa8

Please sign in to comment.