diff options
author | Davidlohr Bueso <davidlohr.bueso@hp.com> | 2013-04-30 18:28:25 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2013-04-30 20:04:07 -0400 |
commit | c75aaa8ed03eb1312ed2990f1a716b2b9cc0df42 (patch) | |
tree | 7646064b514d7e799ef59abe3f4f445bf2cbd029 | |
parent | 4130f0efbfe5adb360328b777afa8e45f7e467f7 (diff) |
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>
-rw-r--r-- | lib/rbtree_test.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/rbtree_test.c b/lib/rbtree_test.c index 99515038ff6d..122f02f9941b 100644 --- a/lib/rbtree_test.c +++ b/lib/rbtree_test.c | |||
@@ -149,7 +149,7 @@ static void check_augmented(int nr_nodes) | |||
149 | } | 149 | } |
150 | } | 150 | } |
151 | 151 | ||
152 | static int rbtree_test_init(void) | 152 | static int __init rbtree_test_init(void) |
153 | { | 153 | { |
154 | int i, j; | 154 | int i, j; |
155 | cycles_t time1, time2, time; | 155 | cycles_t time1, time2, time; |
@@ -222,7 +222,7 @@ static int rbtree_test_init(void) | |||
222 | return -EAGAIN; /* Fail will directly unload the module */ | 222 | return -EAGAIN; /* Fail will directly unload the module */ |
223 | } | 223 | } |
224 | 224 | ||
225 | static void rbtree_test_exit(void) | 225 | static void __exit rbtree_test_exit(void) |
226 | { | 226 | { |
227 | printk(KERN_ALERT "test exit\n"); | 227 | printk(KERN_ALERT "test exit\n"); |
228 | } | 228 | } |