aboutsummaryrefslogtreecommitdiffstats
path: root/net/unix/af_unix.c
diff options
context:
space:
mode:
authorKees Cook <[email protected]>2022-03-09 22:09:39 +0000
committerThomas Bogendoerfer <[email protected]>2022-03-14 14:02:53 +0000
commitb847bd64ea9f484510e27065cb2bccc58d9b829b (patch)
tree6ee0d94d6ce3516b2047ecf0bfcab2148afcc273 /net/unix/af_unix.c
parentMIPS: boot/compressed: Use array reference for image bounds (diff)
downloadkernel-b847bd64ea9f484510e27065cb2bccc58d9b829b.tar.gz
kernel-b847bd64ea9f484510e27065cb2bccc58d9b829b.zip
MIPS: Only use current_stack_pointer on GCC
Unfortunately, Clang did not have support for "sp" as a global register definition, and was crashing after the addition of current_stack_pointer. This has been fixed in Clang 14, but earlier Clang versions need to avoid this code, so add a versioned test and revert back to the open-coded asm instances. Fixes Clang build error: fatal error: error in backend: Invalid register name global variable Fixes: 200ed341b864 ("mips: Implement "current_stack_pointer"") Reported-by: Nathan Chancellor <[email protected]> Reviewed-by: Nathan Chancellor <[email protected]> Link: https://lore.kernel.org/lkml/[email protected] Cc: Thomas Bogendoerfer <[email protected]> Cc: Marc Zyngier <[email protected]> Cc: Guenter Roeck <[email protected]> Cc: Yanteng Si <[email protected]> Cc: [email protected] Signed-off-by: Kees Cook <[email protected]> Reviewed-by: Nick Desaulniers <[email protected]> Signed-off-by: Thomas Bogendoerfer <[email protected]>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions