projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4130f0e
)
rbtree_test: add __init/__exit annotations
author
Davidlohr Bueso
<
[email protected]
>
Tue, 30 Apr 2013 22:28:25 +0000
(15:28 -0700)
committer
Linus Torvalds
<
[email protected]
>
Wed, 1 May 2013 00:04:07 +0000
(17:04 -0700)
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]
>
lib/rbtree_test.c
patch
|
blob
|
history
diff --git
a/lib/rbtree_test.c
b/lib/rbtree_test.c
index 99515038ff6dda9fb5adb3e9bc8c4be7d82a663d..122f02f9941b5680b6fd9f14793e8806476bb634 100644
(file)
--- a/
lib/rbtree_test.c
+++ b/
lib/rbtree_test.c
@@
-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");
}