]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
RISC-V: KVM: Fix check for local interrupts on riscv32
authorSamuel Holland <samuel.holland@sifive.com>
Thu, 16 Oct 2025 00:17:09 +0000 (17:17 -0700)
committerAnup Patel <anup@brainfault.org>
Thu, 16 Oct 2025 11:47:29 +0000 (17:17 +0530)
commitea138a607709bf72c162f62d2a670fe899d73daa
treeaa7117337f31dd5cd4a41c30c027694e18dc6041
parent3a8660878839faadb4f1a6dd72c3179c1df56787
RISC-V: KVM: Fix check for local interrupts on riscv32

To set all 64 bits in the mask on a 32-bit system, the constant must
have type `unsigned long long`.

Fixes: 6b1e8ba4bac4 ("RISC-V: KVM: Use bitmap for irqs_pending and irqs_pending_mask")
Signed-off-by: Samuel Holland <samuel.holland@sifive.com>
Reviewed-by: Andrew Jones <ajones@ventanamicro.com>
Link: https://lore.kernel.org/r/20251016001714.3889380-1-samuel.holland@sifive.com
Signed-off-by: Anup Patel <anup@brainfault.org>
arch/riscv/kvm/vcpu.c