perf: Always build the powerpc perf_arch_fetch_caller_regs version
commit6e03bb5ad363fdbe4e1e227cfb78f7978c662e18
authorFrederic Weisbecker <fweisbec@gmail.com>
Sat, 3 Apr 2010 10:22:05 +0000 (3 12:22 +0200)
committerFrederic Weisbecker <fweisbec@gmail.com>
Sat, 3 Apr 2010 10:42:00 +0000 (3 12:42 +0200)
tree9805950eb1dfce251c19f4d8bd83cb3343027549
parent26d80aa782e708c380a47601779d42d30bf016d6
perf: Always build the powerpc perf_arch_fetch_caller_regs version

Now that software events use perf_arch_fetch_caller_regs() too, we
need the powerpc version to be always built.

Fixes the following build error:

(.text+0x3210): undefined reference to `perf_arch_fetch_caller_regs'
(.text+0x3324): undefined reference to `perf_arch_fetch_caller_regs'
(.text+0x33bc): undefined reference to `perf_arch_fetch_caller_regs'
(.text+0x33ec): undefined reference to `perf_arch_fetch_caller_regs'
(.text+0xd4a0): undefined reference to `perf_arch_fetch_caller_regs'
arch/powerpc/kernel/built-in.o:(.text+0xd528): more undefined references to `perf_arch_fetch_caller_regs' follow
make[1]: *** [.tmp_vmlinux1] Error 1
make: *** [sub-make] Error 2

Reported-by: Michael Ellerman <michael@ellerman.id.au>
Reported-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Frederic Weisbecker <fweisbec@gmail.com>
Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
Cc: Arnaldo Carvalho de Melo <acme@redhat.com>
Cc: Paul Mackerras <paulus@samba.org>
arch/powerpc/kernel/misc.S