mirror of
https://git.proxmox.com/git/mirror_ubuntu-kernels.git
synced 2025-11-22 21:20:14 +00:00
There's an almost identical code sequence to specify load/store access hints in __copy_tofrom_user_power7(), copypage_power7() and memcpy_power7(). Move the sequence into a common macro, which is passed the registers to use as they differ slightly. There also needs to be a copy in the selftests, it could be shared in future if the headers are cleaned up / refactored. Signed-off-by: Michael Ellerman <mpe@ellerman.id.au> Link: https://msgid.link/20240229122521.762431-1-mpe@ellerman.id.au |
||
|---|---|---|
| .. | ||
| asm | ||
| linux | ||
| .gitignore | ||
| copy_mc_64.S | ||
| copy_tofrom_user_reference.S | ||
| copyuser_64.S | ||
| copyuser_power7.S | ||
| exc_validate.c | ||
| Makefile | ||
| mem_64.S | ||
| memcpy_64.S | ||
| memcpy_power7.S | ||
| memcpy_stubs.S | ||
| memmove_validate.c | ||
| stubs.S | ||
| validate.c | ||