summaryrefslogtreecommitdiff
path: root/arch/powerpc/sysdev/xive/native.c
diff options
context:
space:
mode:
authorKees Cook <keescook@chromium.org>2018-07-02 08:56:21 -0700
committerMichael Ellerman <mpe@ellerman.id.au>2018-07-03 12:00:54 +1000
commit741c5640a15a23a2ec3a0846668a82e8e3b4314d (patch)
tree69a78b8ac8f9b9ef3ee70fbc6d90ba1d0e22c146 /arch/powerpc/sysdev/xive/native.c
parentd497ebf5fb3a026c0817f8c96cde578787f24093 (diff)
powerpc/mpc5200: Remove VLA usage
In the quest to remove all stack VLA usage from the kernel[1], this switches to using a stack size large enough for the saved routine and adds a sanity check making sure the routine doesn't overflow into the 0x600 exception handler. [1] https://lkml.kernel.org/r/CA+55aFzCG-zNmZwX4A2FQpadafLfEzK6CC=qPXydAacU1RqZWA@mail.gmail.com Signed-off-by: Kees Cook <keescook@chromium.org> Reviewed-by: Arnd Bergmann <arnd@arndb.de> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Diffstat (limited to 'arch/powerpc/sysdev/xive/native.c')
0 files changed, 0 insertions, 0 deletions