diff options
author | Tiezhu Yang <yangtiezhu@loongson.cn> | 2025-04-22 19:31:56 +0800 |
---|---|---|
committer | Palmer Dabbelt <palmer@dabbelt.com> | 2025-06-05 11:10:17 -0700 |
commit | d7e0cce103663a60b14c52a0bcad62c7e8c0e6e8 (patch) | |
tree | 11c1ddfe59ef3960658098a24b5990aa35dfce81 /rust/helpers/helpers.c | |
parent | 4d6319289e8661a1845dde5d05859afc21ec3ed9 (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