Skip to content
Commit d191323b authored by Max Filippov's avatar Max Filippov
Browse files

xtensa: don't use a12 in strncpy_user



a12 is callee-saved register in xtensa call0 ABI, so a function must not
change it. a10 is not used in this function at all, use it instead of
a12 to avoid saving/restoring it.

Signed-off-by: default avatarMax Filippov <jcmvbkbc@gmail.com>
parent eda8dd12
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment