We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3d57aeb commit 07d38c5Copy full SHA for 07d38c5
src/devices/src/legacy/gicv3.rs
@@ -12,7 +12,7 @@ use utils::eventfd::EventFd;
12
13
const IRQ_NUM: u32 = 288;
14
const MAXIRQ: u32 = 1020;
15
-const BITMAP_SZ: usize = (MAXIRQ as usize + 31) / 32;
+const BITMAP_SZ: usize = (MAXIRQ as usize).div_ceil(32);
16
17
const GIC_INTERNAL: u32 = 32;
18
0 commit comments