Author: jhb Date: Fri Aug 31 18:26:37 2018 New Revision: 338415 URL: https://svnweb.freebsd.org/changeset/base/338415
Log: Fix build of x86 UP kernels after dynamic IRQ changes in r338360. Reported by: Ian FREISLICH <ian.freisl...@capeaugusta.com> Approved by: re (gjb) MFC after: 2 weeks Modified: head/sys/x86/x86/intr_machdep.c Modified: head/sys/x86/x86/intr_machdep.c ============================================================================== --- head/sys/x86/x86/intr_machdep.c Fri Aug 31 17:36:45 2018 (r338414) +++ head/sys/x86/x86/intr_machdep.c Fri Aug 31 18:26:37 2018 (r338415) @@ -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. _______________________________________________ svn-src-head@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/svn-src-head To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"