linux/arch/powerpc
Steven Rostedt f25f9074c2 powerpc/ftrace: Fix math to calculate offset in TOC
Impact: fix dynamic ftrace with large modules in PPC64

The math to calculate the offset into the TOC that is taken from reading
the trampoline is incorrect. The bottom half of the offset is a signed
extended short. The current code was using an OR to create the offset
when it should have been using an addition.

Signed-off-by: Steven Rostedt <srostedt@redhat.com>
Acked-by: Geoff Levand <geoffrey.levand@am.sony.com>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
2009-02-10 14:39:08 +11:00
..
boot powerpc/83xx: Fix TSEC0 workability on MPC8313E-RDB boards 2009-02-06 10:38:57 -06:00
configs powerpc/83xx: Fix TSEC0 workability on MPC8313E-RDB boards 2009-02-06 10:38:57 -06:00
include/asm powerpc/ps3: Use dma_addr_t down through the stack 2009-01-16 16:15:11 +11:00
kernel powerpc/ftrace: Fix math to calculate offset in TOC 2009-02-10 14:39:08 +11:00
kvm KVM: Consolidate userspace memory capability reporting into common code 2008-12-31 16:55:46 +02:00
lib powerpc: Don't emulate mr. instructions 2009-02-10 14:39:07 +11:00
math-emu powerpc: Add SPE/EFP math emulation for E500v1/v2 processors. 2008-12-03 08:19:16 -06:00
mm powerpc/fsl-booke: Fix mapping functions to use phys_addr_t 2009-02-09 21:11:55 -06:00
oprofile powerpc: Change u64/s64 to a long long integer type 2009-01-13 14:47:59 +11:00
platforms arch/powerpc: Eliminate double sizeof 2009-02-06 10:44:28 -06:00
sysdev powerpc/cpm2: Fix set interrupt type 2009-02-06 10:44:02 -06:00
xmon powerpc: Prepare xmon_save_regs for use with kdump 2008-12-23 15:13:28 +11:00
Kconfig powerpc: Remove arch/ppc cruft from Kconfig 2009-01-28 17:15:51 +11:00
Kconfig.debug powerpc: Allow the max stack trace depth to be configured 2008-12-03 20:46:35 +11:00
Makefile powerpc: Remove unncessary SPE related compiler flag 2008-12-03 08:19:10 -06:00