mirror of
https://github.com/adulau/aha.git
synced 2024-12-27 19:26:25 +00:00
oprofile: Thou shalt not call __exit functions from __init functions
Impact: fix ref to discarded function `buffer_sync_cleanup' referenced in section `.init.text' of arch/arm/oprofile/built-in.o: defined in discarded section `.exit.text' of arch/arm/oprofile/built-in.o Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk> Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
This commit is contained in:
parent
97c12f85ac
commit
bb75efddea
1 changed files with 1 additions and 1 deletions
|
@ -574,7 +574,7 @@ int __init buffer_sync_init(void)
|
|||
return 0;
|
||||
}
|
||||
|
||||
void __exit buffer_sync_cleanup(void)
|
||||
void buffer_sync_cleanup(void)
|
||||
{
|
||||
free_cpumask_var(marked_cpus);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue