DragonFly BSD
DragonFly commits List (threaded) for 2011-06
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

Re: git: x86_64/ioapic: Cleanup header inclusion


From: YONETANI Tomokazu <y0n3t4n1@xxxxxxxxx>
Date: Mon, 13 Jun 2011 09:24:53 +0900

On Thu, Jun 09, 2011 at 03:03:40AM -0700, Sepherosa Ziehau wrote:
> 
> commit 4840532e0a3a1313447b2c164529fcb288782d83
> Author: Sepherosa Ziehau <sephe@dragonflybsd.org>
> 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



[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]