Fix the arm64 non-SMP build, active_irq is a uint64_t so cast it through
a uintmax_t. Obtained from: ABT Systems Ltd MFC after: 1 week Sponsored by: The FreeBSD Foundation
This commit is contained in:
parent
4620ba2e32
commit
724c3e47f6
@ -408,8 +408,8 @@ arm_gic_v3_intr(void *arg)
|
||||
#ifdef SMP
|
||||
intr_ipi_dispatch(sgi_to_ipi[gi->gi_irq], tf);
|
||||
#else
|
||||
device_printf(sc->dev, "SGI %u on UP system detected\n",
|
||||
active_irq - GIC_FIRST_SGI);
|
||||
device_printf(sc->dev, "SGI %ju on UP system detected\n",
|
||||
(uintmax_t)(active_irq - GIC_FIRST_SGI));
|
||||
#endif
|
||||
} else if (active_irq >= GIC_FIRST_PPI &&
|
||||
active_irq <= GIC_LAST_SPI) {
|
||||
|
Loading…
Reference in New Issue
Block a user