]> git.baikalelectronics.ru Git - kernel.git/commit
powerpc: Revert the initial stack protector support
authorMichael Ellerman <mpe@ellerman.id.au>
Tue, 24 Jan 2017 10:37:20 +0000 (21:37 +1100)
committerMichael Ellerman <mpe@ellerman.id.au>
Tue, 24 Jan 2017 10:37:43 +0000 (21:37 +1100)
commit2cae15869c9b94729f3e99bee41c46d5e3c07165
treeebecfeff672d06af804fae955e46858ed591c683
parentad0a2b03963801aea823a8741a6e22c7c672baa6
powerpc: Revert the initial stack protector support

Unfortunately the stack protector support we merged recently only works
on some toolchains. If the toolchain is built without glibc support
everything works fine, but if glibc is built then it leads to a panic
at boot.

The solution is not rc5 material, so revert the support for now. This
reverts commits:

477615116f77 ("powerpc: Initial stack protector (-fstack-protector) support")
941c884404b5 ("powerpc/32: Change the stack protector canary value per task")

Fixes: 477615116f77 ("powerpc: Initial stack protector (-fstack-protector) support")
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
arch/powerpc/Kconfig
arch/powerpc/include/asm/stackprotector.h [deleted file]
arch/powerpc/kernel/Makefile
arch/powerpc/kernel/asm-offsets.c
arch/powerpc/kernel/entry_32.S
arch/powerpc/kernel/process.c