path: root/arch/arm
diff options
authorMarkos Chandras <>2014-09-16 15:55:12 +0100
committerRalf Baechle <>2014-09-26 11:41:17 +0200
commit8a574cfa2652545eb95595d38ac2a0bb501af0ae (patch)
tree9c49a781cda974d511d4239e172cdb10692d5cee /arch/arm
parentc8c0da6bdf0f0d6f59fc23aab6ee373a131df82d (diff)
MIPS: mcount: Adjust stack pointer for static trace in MIPS32
Every mcount() call in the MIPS 32-bit kernel is done as follows: [...] move at, ra jal _mcount addiu sp, sp, -8 [...] but upon returning from the mcount() function, the stack pointer is not adjusted properly. This is explained in details in 58b69401c797 (MIPS: Function tracer: Fix broken function tracing). Commit ad8c396936e3 ("MIPS: Unbreak function tracer for 64-bit kernel.) fixed the stack manipulation for 64-bit but it didn't fix it completely for MIPS32. Signed-off-by: Markos Chandras <> Cc: <> Cc: Patchwork: Signed-off-by: Ralf Baechle <>
Diffstat (limited to 'arch/arm')
0 files changed, 0 insertions, 0 deletions