]> git.baikalelectronics.ru Git - kernel.git/commit
powerpc/tracing: TRACE_WITH_FRAME_BUFFER creates invalid stack frames
authorAnton Blanchard <anton@samba.org>
Mon, 10 Mar 2014 01:51:58 +0000 (12:51 +1100)
committerAnton Blanchard <anton@samba.org>
Wed, 23 Apr 2014 00:05:25 +0000 (10:05 +1000)
commit1af2fcc529c29304c3838b0c0b36836dd69813b3
treebfecc1c5d6272d549d66fb25113770d79602adeb
parente38e2024fc0b6764f29fd4f756ac5b589af2449f
powerpc/tracing: TRACE_WITH_FRAME_BUFFER creates invalid stack frames

TRACE_WITH_FRAME_BUFFER creates 32 byte stack frames. On ppc64
ABIv1 this is too small and a callee could corrupt the stack by
writing to the parameter save area (starting at offset 48).

Signed-off-by: Anton Blanchard <anton@samba.org>
arch/powerpc/include/asm/irqflags.h