summaryrefslogtreecommitdiffstats
path: root/arch/microblaze/kernel/entry-nommu.S
diff options
context:
space:
mode:
authorMichal Simek <monstr@monstr.eu>2012-05-07 14:21:02 +0200
committerMichal Simek <monstr@monstr.eu>2012-05-25 06:34:35 +0200
commitd65987a88dc8b182ef933edf93c23cf4233dd8d5 (patch)
treebf89bd10520302bc2de01f4fce13068f8a80daae /arch/microblaze/kernel/entry-nommu.S
parentf397c077e114df07bd2b94a16681a04be8d59dff (diff)
downloadop-kernel-dev-d65987a88dc8b182ef933edf93c23cf4233dd8d5.zip
op-kernel-dev-d65987a88dc8b182ef933edf93c23cf4233dd8d5.tar.gz
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>
Diffstat (limited to 'arch/microblaze/kernel/entry-nommu.S')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud