Files
android_kernel_xiaomi_sm8450/arch/powerpc/kernel
Michael Ellerman d84e0d69c2 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 <mpe@ellerman.id.au>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
2014-06-24 14:05:46 +10:00
..
2014-04-18 14:20:41 +02:00
2014-06-11 19:12:23 +10:00
2014-06-11 19:12:23 +10:00
2014-05-20 10:56:01 +10:00
2014-04-07 10:33:12 +10:00
2012-03-28 18:30:02 +01:00
2014-06-11 17:04:29 +10:00
2014-03-19 19:57:14 -05:00