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:
John Baldwin 2018-08-31 18:26:37 +00:00
parent 5d2346efea
commit cdb6aa7e47
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=338415

View file

@ -173,8 +173,10 @@ intr_init_sources(void *arg)
interrupt_sources = mallocarray(num_io_irqs, sizeof(*interrupt_sources),
M_INTR, M_WAITOK | M_ZERO);
#ifdef SMP
interrupt_sorted = mallocarray(num_io_irqs, sizeof(*interrupt_sorted),
M_INTR, M_WAITOK | M_ZERO);
#endif
/*
* - 1 ??? dummy counter.