summaryrefslogtreecommitdiffstats
path: root/kernel
diff options
context:
space:
mode:
authorMax Filippov <jcmvbkbc@gmail.com>2018-11-04 01:46:00 -0700
committerMax Filippov <jcmvbkbc@gmail.com>2018-11-05 14:49:04 -0800
commit0773495b1f5f1c5e23551843f87b5ff37e7af8f7 (patch)
tree9d59686a2ca92dd7b10691fca16a221fb6ed3536 /kernel
parent84df9525b0c27f3ebc2ebb1864fa62a97fdedb7d (diff)
downloadblackbird-obmc-linux-0773495b1f5f1c5e23551843f87b5ff37e7af8f7.tar.gz
blackbird-obmc-linux-0773495b1f5f1c5e23551843f87b5ff37e7af8f7.zip
xtensa: make sure bFLT stack is 16 byte aligned
Xtensa ABI requires stack alignment to be at least 16. In noMMU configuration ARCH_SLAB_MINALIGN is used to align stack. Make it at least 16. This fixes the following runtime error in noMMU configuration, caused by interaction between insufficiently aligned stack and alloca function, that results in corruption of on-stack variable in the libc function glob: Caught unhandled exception in 'sh' (pid = 47, pc = 0x02d05d65) - should not happen EXCCAUSE is 15 Cc: stable@vger.kernel.org Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
Diffstat (limited to 'kernel')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud