linux/arch/loongarch/lib
WANG Xuerui 53a4858ccd LoongArch: Make the CPUCFG&CSR ops simple aliases of compiler built-ins
In addition to less visual clutter, this also makes Clang happy
regarding the const-ness of arguments. In the original approach, all
Clang gets to see is the incoming arguments whose const-ness cannot be
proven without first being inlined; so Clang errors out here while GCC
is fine.

While at it, tweak several printk format strings because the return type
of csr_read64 becomes effectively unsigned long, instead of unsigned
long long.

Signed-off-by: WANG Xuerui <git@xen0n.name>
Signed-off-by: Huacai Chen <chenhuacai@loongson.cn>
2023-06-29 20:58:43 +08:00
..
clear_user.S LoongArch: Optimize memory ops (memset/memcpy/memmove) 2023-05-01 17:19:43 +08:00
copy_user.S LoongArch: Optimize memory ops (memset/memcpy/memmove) 2023-05-01 17:19:43 +08:00
csum.c LoongArch: Add checksum optimization for 64-bit system 2023-05-01 17:19:43 +08:00
delay.c LoongArch: Remove useless header compiler.h 2022-07-29 18:22:32 +08:00
dump_tlb.c LoongArch: Make the CPUCFG&CSR ops simple aliases of compiler built-ins 2023-06-29 20:58:43 +08:00
error-inject.c LoongArch: Add support for function error injection 2023-05-01 17:19:52 +08:00
Makefile LoongArch: Add support for function error injection 2023-05-01 17:19:52 +08:00
memcpy.S LoongArch: Optimize memory ops (memset/memcpy/memmove) 2023-05-01 17:19:43 +08:00
memmove.S LoongArch: Optimize memory ops (memset/memcpy/memmove) 2023-05-01 17:19:43 +08:00
memset.S LoongArch: Optimize memory ops (memset/memcpy/memmove) 2023-05-01 17:19:43 +08:00
unaligned.S LoongArch: Add unaligned access support 2022-12-14 08:36:11 +08:00