aboutsummaryrefslogtreecommitdiff
path: root/lib/mpi/mpi-sub-ui.c
diff options
context:
space:
mode:
authorXiu Jianfeng <[email protected]>2022-07-01 16:24:34 +0800
committerMichael Ellerman <[email protected]>2022-07-28 16:22:15 +1000
commit1547db7d1f4481c1f3ec731f3edc724ef3026ede (patch)
tree0a799169a408e2c2a9c897f5e5ad19356bf324ae /lib/mpi/mpi-sub-ui.c
parent978030f054ff97d9079b35f0178e2013918fb316 (diff)
powerpc: Move system_call_exception() to syscall.c
This is a lead-up patch to enable syscall stack randomization, which uses alloca() and makes the compiler add unconditional stack canaries on syscall entry. In order to avoid triggering needless checks and slowing down the entry path, the feature needs to disable stack protector at the compilation unit level as there is no general way to control stack protector coverage with a function attribute. So move system_call_exception() to syscall.c to avoid affecting other functions in interrupt.c. Suggested-by: Michael Ellerman <[email protected]> Signed-off-by: Xiu Jianfeng <[email protected]> Signed-off-by: Michael Ellerman <[email protected]> Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'lib/mpi/mpi-sub-ui.c')
0 files changed, 0 insertions, 0 deletions