projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e3222c4
)
rcutorture: Mark rcu_torture_init as __init
author
Josh Triplett
<josh@freedesktop.org>
Tue, 8 May 2007 07:25:24 +0000
(
00:25
-0700)
committer
Linus Torvalds
<torvalds@woody.linux-foundation.org>
Tue, 8 May 2007 18:15:00 +0000
(11:15 -0700)
The corresponding rcu_torture_cleanup cannot get marked as __exit, because
rcu_torture_init uses it to clean up if init fails.
Signed-off-by: Josh Triplett <josh@freedesktop.org>
Acked-by: "Paul E. McKenney" <paulmck@us.ibm.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
kernel/rcutorture.c
patch
|
blob
|
blame
|
history
diff --git
a/kernel/rcutorture.c
b/kernel/rcutorture.c
index bcd14e83ef39c44dbf77eb1d6cc89a2a34b3e55b..75ca2a740471ba44115f3c1dbcb87f850696dff4 100644
(file)
--- a/
kernel/rcutorture.c
+++ b/
kernel/rcutorture.c
@@
-866,7
+866,7
@@
rcu_torture_cleanup(void)
rcu_torture_print_module_parms("End of test: SUCCESS");
}
-static int
+static int
__init
rcu_torture_init(void)
{
int i;