linux_dsm_epyc7002/arch
Steven Rostedt bb9b903527 powerpc, ftrace: use create_branch lib function
Impact: clean up, remove duplicate code

When ftrace was first ported to PowerPC, there existed a
create_function_call that would create the instruction to make a call
to a given address. Unfortunately, this call expected to write to
the address it was given, and since it used the address to calculate
the offset, it could not be faked.

ftrace needed a way to create the instruction without actually writing
that instruction to the text section. So ftrace had to implement its
own code.

Now we have create_branch in the code patching library, which does
exactly what ftrace needs. This patch replaces ftrace's implementation
with the library function.

Signed-off-by: Steven Rostedt <srostedt@redhat.com>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
2009-02-23 10:48:56 +11:00
..
alpha cpumask: Use cpu_*_mask accessors code: alpha 2009-02-16 17:32:00 +10:30
arm [ARM] Storage class should be before const qualifier 2009-02-10 09:59:19 +00:00
avr32
blackfin
cris
frv
h8300
ia64 KVM: Add kvm_arch_sync_events to sync with asynchronize events 2009-02-15 02:47:36 +02:00
m32r
m68k
m68knommu
mips
mn10300
parisc
powerpc powerpc, ftrace: use create_branch lib function 2009-02-23 10:48:56 +11:00
s390 KVM: Add kvm_arch_sync_events to sync with asynchronize events 2009-02-15 02:47:36 +02:00
sh
sparc
um
x86 Merge commit 'ftrace/function-graph' into next 2009-02-23 10:47:23 +11:00
xtensa
.gitignore
Kconfig