summaryrefslogtreecommitdiff
path: root/rust/helpers/helpers.c
diff options
context:
space:
mode:
authorTiezhu Yang <yangtiezhu@loongson.cn>2025-04-22 19:31:56 +0800
committerPalmer Dabbelt <palmer@dabbelt.com>2025-06-05 11:10:17 -0700
commitd7e0cce103663a60b14c52a0bcad62c7e8c0e6e8 (patch)
tree11c1ddfe59ef3960658098a24b5990aa35dfce81 /rust/helpers/helpers.c
parent4d6319289e8661a1845dde5d05859afc21ec3ed9 (diff)
riscv: Make regs_irqs_disabled() more clear
The return value of regs_irqs_disabled() is true or false, so change its type to reflect that and also make it always inline. Suggested-by: Huacai Chen <chenhuacai@loongson.cn> Signed-off-by: Tiezhu Yang <yangtiezhu@loongson.cn> Reviewed-by: Alexandre Ghiti <alexghiti@rivosinc.com> Link: https://lore.kernel.org/r/20250422113156.25742-1-yangtiezhu@loongson.cn Signed-off-by: Alexandre Ghiti <alexghiti@rivosinc.com> Signed-off-by: Palmer Dabbelt <palmer@dabbelt.com>
Diffstat (limited to 'rust/helpers/helpers.c')
0 files changed, 0 insertions, 0 deletions