aboutsummaryrefslogtreecommitdiffstats
path: root/arch/powerpc/sysdev/dart_iommu.c
diff options
context:
space:
mode:
authorMichael Ellerman <[email protected]>2014-06-17 06:15:35 +0000
committerBenjamin Herrenschmidt <[email protected]>2014-06-24 04:05:46 +0000
commitd84e0d69c26b4d739214974d6ad6baf23f510580 (patch)
tree70d4c7e98bd2cab11524d28da6a08dd7f4ad23d0 /arch/powerpc/sysdev/dart_iommu.c
parentpowerpc/ftrace: Fix inverted check of create_branch() (diff)
downloadkernel-d84e0d69c26b4d739214974d6ad6baf23f510580.tar.gz
kernel-d84e0d69c26b4d739214974d6ad6baf23f510580.zip
powerpc/ftrace: Fix nop of modules on 64bit LE (ABIv2)
There is a bug in the handling of the function entry when we are nopping out a branch from a module in ftrace. We compare the result of module_trampoline_target() with the value of ppc_function_entry(), and expect them to be true. But they never will be. module_trampoline_target() will always return the global entry point of the function, whereas ppc_function_entry() will always return the local. Fix it by using the newly added ppc_global_function_entry(). Signed-off-by: Michael Ellerman <[email protected]> Signed-off-by: Benjamin Herrenschmidt <[email protected]>
Diffstat (limited to 'arch/powerpc/sysdev/dart_iommu.c')
0 files changed, 0 insertions, 0 deletions