aboutsummaryrefslogtreecommitdiffstats
path: root/arch/microblaze/include
diff options
context:
space:
mode:
authorSteven J. Magnani <steve@digidescorp.com>2010-04-02 13:29:39 -0500
committerMichal Simek <monstr@monstr.eu>2010-04-07 07:27:25 +0200
commitd2bf98e6fc2612cbd2fc40f75a1e2c5d60262331 (patch)
tree7a69042d5f841ee7f66f0d6661df09c9fdfbe402 /arch/microblaze/include
parent0fdf86754f70e813845af4abaa805165ce57a0bb (diff)
downloadkernel_goldelico_gta04-d2bf98e6fc2612cbd2fc40f75a1e2c5d60262331.zip
kernel_goldelico_gta04-d2bf98e6fc2612cbd2fc40f75a1e2c5d60262331.tar.gz
kernel_goldelico_gta04-d2bf98e6fc2612cbd2fc40f75a1e2c5d60262331.tar.bz2
microblaze: Fix ftrace_update_ftrace_func panic
The Microblaze dynamic ftrace code assumes a call ordering that is not met in all scenarios. Specifically, executing a command similar to: echo 105 > /sys/kernel/debug/tracing/set_ftrace_pid before any other tracing-related commands results in a kernel panic: BUG: failure at arch/microblaze/kernel/ftrace.c:198/ftrace_update_ftrace_func()! Recoding ftrace_update_ftrace_func() to use &ftrace_caller directly eliminates the need to capture its address elsewhere (and thus rely on a particular call sequence). Signed-off-by: Steven J. Magnani <steve@digidescorp.com> Signed-off-by: Michal Simek <monstr@monstr.eu>
Diffstat (limited to 'arch/microblaze/include')
0 files changed, 0 insertions, 0 deletions