Re: git: x86_64/ioapic: Cleanup header inclusion

看板DFBSD_commit作者時間14年前 (2011/06/15 15:32), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串2/2 (看更多)
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
文章代碼(AID): #1D-6000D (DFBSD_commit)
文章代碼(AID): #1D-6000D (DFBSD_commit)