Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 29 Aug 2018 19:20:22 -0400
From:      Ian FREISLICH <ian.freislich@capeaugusta.com>
To:        freebsd-current <freebsd-current@freebsd.org>, John Baldwin <jhb@FreeBSD.org>
Subject:   intr_machdep.c:176:2: error: use of undeclared identifier 'interrupt_sorted'
Message-ID:  <524214ac-e3ca-53cd-aee3-dac9212e9800@capeaugusta.com>

index | next in thread | raw e-mail

Hi

I see the definition of interrupt_sorted is #ifdefed out by #ifdef SMP
at line 84.  My system is UP <gasp> so I'm not compiling an SMP kernel.

/usr/src/sys/x86/x86/intr_machdep.c:176:2: error: use of undeclared
identifier 'interrupt_sorted'; did you mean 'interrupt_sources'?
        interrupt_sorted = mallocarray(num_io_irqs,
sizeof(*interrupt_sorted),
        ^~~~~~~~~~~~~~~~
        interrupt_sources
/usr/src/sys/x86/x86/intr_machdep.c:83:24: note: 'interrupt_sources'
declared here
static struct intsrc **interrupt_sources;
                       ^
/usr/src/sys/x86/x86/intr_machdep.c:176:54: error: use of undeclared
identifier 'interrupt_sorted'; did you mean 'interrupt_sources'?
        interrupt_sorted = mallocarray(num_io_irqs,
sizeof(*interrupt_sorted),
                                                            ^~~~~~~~~~~~~~~~
                                                           
interrupt_sources
/usr/src/sys/x86/x86/intr_machdep.c:83:24: note: 'interrupt_sources'
declared here
static struct intsrc **interrupt_sources;
                       ^
2 errors generated.
*** Error code 1

Stop.
make[2]: stopped in /usr/obj/usr/src/amd64.amd64/sys/BRANE
*** Error code 1

Stop.
make[1]: stopped in /usr/src
*** Error code 1

Stop.
make: stopped in /usr/src

-- 
Ian Freislich


-- 


help

Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?524214ac-e3ca-53cd-aee3-dac9212e9800>