[PATCH] Ftrace : fix function_graph tracer OOPS

Sachin Sant sachinp at in.ibm.com
Fri Oct 9 01:51:47 EST 2009


Enabling function graph causes oops due to usage of LOAD_REG_IMMEDIATE().
As explained by Ben the usage of LOAD_REG_IMMEDIATE generates relocs that are
not supported when CONFIG_RELOCATABLE is set.

Switch to LOAD_REG_ADDR().

Signed-off-by : Sachin Sant <sachinp at in.ibm.com>
---


-------------- next part --------------
A non-text attachment was scrubbed...
Name: fix_ftrace_function_graph.patch
Type: text/x-patch
Size: 845 bytes
Desc: not available
URL: <http://lists.ozlabs.org/pipermail/linuxppc-dev/attachments/20091008/3ff1ad18/attachment.bin>


More information about the Linuxppc-dev mailing list