Files
linux-st/include/linux
Anand Gadiyar b3b3a9b63f oprofile: fix linker errors
Commit e9677b3ce (oprofile, ARM: Use oprofile_arch_exit() to
cleanup on failure) caused oprofile_perf_exit to be called
in the cleanup path of oprofile_perf_init. The __exit tag
for oprofile_perf_exit should therefore be dropped.

The same has to be done for exit_driverfs as well, as this
function is called from oprofile_perf_exit. Else, we get
the following two linker errors.

  LD      .tmp_vmlinux1
`oprofile_perf_exit' 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
make: *** [.tmp_vmlinux1] Error 1

  LD      .tmp_vmlinux1
`exit_driverfs' referenced in section `.text' of arch/arm/oprofile/built-in.o: defined in discarded section `.exit.text' of arch/arm/oprofile/built-in.o
make: *** [.tmp_vmlinux1] Error 1

Signed-off-by: Anand Gadiyar <gadiyar@ti.com>
Cc: Will Deacon <will.deacon@arm.com>
Signed-off-by: Robert Richter <robert.richter@amd.com>
2010-10-15 12:45:44 +02:00
..
2010-09-08 10:50:00 -06:00
2010-08-18 01:09:01 -04:00
2010-09-09 18:57:23 -07:00
2010-08-18 08:35:46 -04:00
2010-09-09 20:46:30 +02:00
2010-09-09 18:57:24 -07:00
2010-09-09 09:05:06 -07:00
2010-10-15 12:45:44 +02:00
2010-09-21 13:55:43 +02:00
2010-09-08 15:04:10 +02:00
2010-09-27 20:24:54 -07:00
2010-08-18 08:35:47 -04:00
2010-09-13 10:26:52 +02:00