Subject: machine/pic.h missing
To: None <tech-kern@netbsd.org>
From: theo.borm@kernel <theo4490@borm.org>
List: tech-kern
Date: 04/25/2004 13:00:02
Hi,

I'm not entirely certain if this is the right place to mention this....

I have a program which (indirectly) includes /usr/include/x86/intr.h, 
and compilation
fails because machine/pic.h cannot be found.

/usr/include/x86/intr.h, line 48:
    #ifndef _LOCORE
    #include <machine/cpu.h>
    #include <machine/pic.h>
    ....
    #endif /* !_LOCORE */

/usr/include/machine/pic.h is indeed missing.


/src/sys/arch/x86/include/intr.h, line 48:
    #ifndef _LOCORE
    #include <machine/cpu.h>
    #include <machine/pic.h>
    ....
    #endif /* !_LOCORE */

/usr/include/machine/pic.h is indeed missing.

src/sys/arch/x86/include/pic.h *does* however exist with CVS log "Move 
some files
out of i386 into x86, so that they can be shared with other port..."

I can (easily) fix this, but I'm not certain if my fix would be acceptable.

comments?

regards, Theo