Fix build of x86 UP kernels after dynamic IRQ changes in r338360.
Reported by: Ian FREISLICH <ian.freislich@capeaugusta.com> Approved by: re (gjb) MFC after: 2 weeks
This commit is contained in:
parent
5d2346efea
commit
cdb6aa7e47
@ -173,8 +173,10 @@ intr_init_sources(void *arg)
|
|||||||
|
|
||||||
interrupt_sources = mallocarray(num_io_irqs, sizeof(*interrupt_sources),
|
interrupt_sources = mallocarray(num_io_irqs, sizeof(*interrupt_sources),
|
||||||
M_INTR, M_WAITOK | M_ZERO);
|
M_INTR, M_WAITOK | M_ZERO);
|
||||||
|
#ifdef SMP
|
||||||
interrupt_sorted = mallocarray(num_io_irqs, sizeof(*interrupt_sorted),
|
interrupt_sorted = mallocarray(num_io_irqs, sizeof(*interrupt_sorted),
|
||||||
M_INTR, M_WAITOK | M_ZERO);
|
M_INTR, M_WAITOK | M_ZERO);
|
||||||
|
#endif
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* - 1 ??? dummy counter.
|
* - 1 ??? dummy counter.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user