Subject: Re: machine/cpu.h
To: Iain Hibbert <plunky@skate.demon.co.uk>
From: None <Chris_G_Demetriou@NIAGARA.NECTAR.CS.CMU.EDU>
List: port-sparc
Date: 02/22/1996 12:02:03
> /usr/include/machine/cpu.h (from src/sys/arch/sparc/include/cpu.h) 
> includes <sparc/sparc/intreg.h> on line 65 - this #include is causing
> some things to fail for me, and I can't see that anybody would be
> basing themselves in sys/arch to start with.  Should it be 
> <arch/sparc/sparc/intreg.h> ?

kernel builds include a -I that's effectively 'sys/arch'.  It's should
be fine as-is.

As far as i know, no user-land programs should be including
<machine/cpu.h>.