diff options
author | David S. Miller <davem@davemloft.net> | 2010-04-13 18:59:02 -0700 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2010-04-13 18:59:02 -0700 |
commit | 035df35d968323f6f463c8789553e8589efcbcd4 (patch) | |
tree | 6932aa9c85e37cf7d2e910a171b46ffacdb834a8 /arch/parisc | |
parent | 2e2dc1d755cc5609d0c46d47f7d171318b3bffcd (diff) | |
download | op-kernel-dev-035df35d968323f6f463c8789553e8589efcbcd4.zip op-kernel-dev-035df35d968323f6f463c8789553e8589efcbcd4.tar.gz |
sparc64: Allocate sufficient stack space in ftrace stubs.
128 bytes is sufficient for the register window save area, but the
calling conventions allow the callee to save up to 6 incoming argument
registers into the stack frame after the register window save area.
This means a minimal stack frame is 176 bytes (128 + (6 * 8)).
This fixes random crashes when using the function tracer.
Reported-by: Frederic Weisbecker <fweisbec@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'arch/parisc')
0 files changed, 0 insertions, 0 deletions