aboutsummaryrefslogtreecommitdiffstats
path: root/arch/xtensa/kernel/process.c
diff options
context:
space:
mode:
authorMax Filippov <jcmvbkbc@gmail.com>2021-07-25 16:31:34 -0700
committerMax Filippov <jcmvbkbc@gmail.com>2021-10-18 22:19:34 -0700
commit61a6b91283b4c9e308fcf9377d3f0598ceccb252 (patch)
tree8d96ceb3f4f4bbd4bf6deff7822814008e9459d0 /arch/xtensa/kernel/process.c
parentxtensa: don't use a12 in strncpy_user (diff)
downloadlinux-dev-61a6b91283b4c9e308fcf9377d3f0598ceccb252.tar.xz
linux-dev-61a6b91283b4c9e308fcf9377d3f0598ceccb252.zip
xtensa: don't use a12 in __xtensa_copy_user in call0 ABI
a12 is callee-saved register in xtensa call0 ABI, so a function must not change it. The main unaligned copy loop of __xtensa_copy_user uses all low-numbered registers, so a register must be spilled to avoid using a12 as a loop counter. Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
Diffstat (limited to 'arch/xtensa/kernel/process.c')
0 files changed, 0 insertions, 0 deletions