MPFS: Fix issue with external interrupt detection
The bitmask overflow'd. Failing test is at mpfs_irq_dispatch / line 69
This commit is contained in:
parent
30c25a95f3
commit
43d5f60a74
@ -82,9 +82,9 @@
|
||||
/* IRQ bit and IRQ mask */
|
||||
|
||||
#ifdef CONFIG_ARCH_RV32
|
||||
# define RISCV_IRQ_BIT (1 << 31)
|
||||
# define RISCV_IRQ_BIT (UINT32_C(1) << 31)
|
||||
#else
|
||||
# define RISCV_IRQ_BIT (1 << 63)
|
||||
# define RISCV_IRQ_BIT (UINT64_C(1) << 63)
|
||||
#endif
|
||||
|
||||
#define RISCV_IRQ_MASK (~RISCV_IRQ_BIT)
|
||||
|
Loading…
Reference in New Issue
Block a user