• Frederic Weisbecker's avatar
    perf: Always build the powerpc perf_arch_fetch_caller_regs version · 6e03bb5a
    Frederic Weisbecker authored
    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: default avatarMichael Ellerman <michael@ellerman.id.au>
    Reported-by: default avatarIngo Molnar <mingo@elte.hu>
    Signed-off-by: default avatarFrederic 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>
    6e03bb5a
misc.S 3.18 KB