summaryrefslogtreecommitdiffstats
path: root/arch/h8300/include/asm/elf.h
diff options
context:
space:
mode:
authorDavid S. Miller <davem@davemloft.net>2010-04-13 18:59:02 -0700
committerDavid S. Miller <davem@davemloft.net>2010-04-13 18:59:02 -0700
commit035df35d968323f6f463c8789553e8589efcbcd4 (patch)
tree6932aa9c85e37cf7d2e910a171b46ffacdb834a8 /arch/h8300/include/asm/elf.h
parent2e2dc1d755cc5609d0c46d47f7d171318b3bffcd (diff)
downloadop-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/h8300/include/asm/elf.h')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud