On Thu, Jun 09, 2011 at 03:03:40AM -0700, Sepherosa Ziehau wrote:
> 
> commit 4840532e0a3a1313447b2c164529fcb288782d83
> Author: Sepherosa Ziehau <[email protected]>
> Date:   Thu Jun 9 17:29:22 2011 +0800
> 
>     x86_64/ioapic: Cleanup header inclusion
> 
> Summary of changes:
>  sys/platform/pc64/apic/ioapic.c |   14 +++-----------
>  1 files changed, 3 insertions(+), 11 deletions(-)

Apparently this broke kernel compilation: NAPICID is defined in
<machine/smp.h>, but ioapic.c doesn't include this file directly or
indirectly:

/usr/src/sys/platform/pc64/apic/ioapic.c:145: error: (Each undeclared 
identifier is reported only once
/usr/src/sys/platform/pc64/apic/ioapic.c:145: error: for each function it 
appears in.)
/usr/src/sys/platform/pc64/apic/ioapic.c: In function 'ioapic_alloc_apic_id':
/usr/src/sys/platform/pc64/apic/ioapic.c:539: error: 'NAPICID' undeclared 
(first use in this function)
*** Error code 1
1 error
*** Error code 2
1 error
*** Error code 2
1 error

Reply via email to