mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-08-26 10:49:33 +00:00
rcutorture: Mark rcu_torture_init as __init
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>
This commit is contained in:
parent
e3222c4ecc
commit
6f8bc500a1
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue