oprofile: Thou shalt not call __exit functions from __init functions
authorRussell King <rmk@arm.linux.org.uk>
Sun, 29 Mar 2009 16:12:22 +0000 (17:12 +0100)
committerRusty Russell <rusty@rustcorp.com.au>
Mon, 30 Mar 2009 11:35:18 +0000 (22:05 +1030)
commitbb75efddeaca89f8a67fd82cdcbaaf436cf17ca9
treea0c5c0d07a62b002f2793ac8d57aa1c3b1791925
parent97c12f85ac5e4ac2faee6cada014ac6205105b19
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>
drivers/oprofile/buffer_sync.c