Michal Simek d65987a88d microblaze: ftrace: Pass the first calling instruction for dynamic ftrace
Selftest for dynamic ftrace requres to pass address of the first
calling instruction because hash function is calculated from it.

ftrace_update_ftrace_func setups pointer to function which is called
in _mcount function. trace_selftest is not aware about instruction
size (for microblaze 8 - imm and addik) and that's why we have
to pass in r5 address of imm not addik which is in r15.12

For more info look at ftrace_ops_list_func/ftrace.c.

Signed-off-by: Michal Simek <monstr@monstr.eu>
2012-05-25 06:34:35 +02:00
..
2012-03-28 15:58:21 -07:00
2012-01-05 08:34:28 +01:00
2011-04-01 09:34:51 +02:00
2010-10-21 15:51:58 +10:00
2011-04-01 09:34:51 +02:00
2009-03-27 14:25:15 +01:00
2010-08-04 10:22:35 +02:00
2012-03-28 15:58:21 -07:00