aboutsummaryrefslogtreecommitdiffstats
path: root/lib/test_dynamic_debug.c
diff options
context:
space:
mode:
authorWANG Xuerui <git@xen0n.name>2023-06-29 20:58:43 +0800
committerHuacai Chen <chenhuacai@loongson.cn>2023-06-29 20:58:43 +0800
commit53a4858ccd0d27538f9ab1ac2bead002fca97edc (patch)
treecbff11a03a0a04c384bb3495030b6b7ee50d495e /lib/test_dynamic_debug.c
parentLoongArch: Prepare for assemblers with proper FCSR class support (diff)
downloadlinux-rng-53a4858ccd0d27538f9ab1ac2bead002fca97edc.tar.xz
linux-rng-53a4858ccd0d27538f9ab1ac2bead002fca97edc.zip
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>
Diffstat (limited to 'lib/test_dynamic_debug.c')
0 files changed, 0 insertions, 0 deletions