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:
97c12f8
)
oprofile: Thou shalt not call __exit functions from __init functions
author
Russell King
<
[email protected]
>
Sun, 29 Mar 2009 16:12:22 +0000
(17:12 +0100)
committer
Rusty Russell
<
[email protected]
>
Mon, 30 Mar 2009 11:35:18 +0000
(22:05 +1030)
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 <
[email protected]
>
Signed-off-by: Rusty Russell <
[email protected]
>
drivers/oprofile/buffer_sync.c
patch
|
blob
|
history
diff --git
a/drivers/oprofile/buffer_sync.c
b/drivers/oprofile/buffer_sync.c
index c3ea5fa7d05a6db4079bebb99ecc865b89eefca5..2c9aa49e43cdf1a879214ac281bf705b84015f25 100644
(file)
--- a/
drivers/oprofile/buffer_sync.c
+++ b/
drivers/oprofile/buffer_sync.c
@@
-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);
}