Subject: Re: A change to
To: Hiroyuki Bessho <bsh@grotto.jp>
From: Jason R Thorpe <thorpej@wasabisystems.com>
List: port-arm
Date: 09/19/2002 11:12:19
On Fri, Sep 20, 2002 at 03:05:51AM +0900, Hiroyuki Bessho wrote:

 >     For evbarm, it's ok because <machine/cpu.h> is included before
 > BOARDTYPE_intr.h in <machine/intr.h>.

Hm.  Ok.  Including <machine/cpu.h> in <machine/intr.h> isn't the best
thing in the long-term -- we'd like to get away from that if we can.

 > > Hmmmm... those atomic funcs probably ought to be put in <machine/atomic.h>
 > > as inlines, or something.
 > >
 > 
 >     It sounds nice to make them inline, but why not <arm/atomic.h>?  

Well, sure, and each arm platform would provide <machine/atomic.h> that
simply included it.

-- 
        -- Jason R. Thorpe <thorpej@wasabisystems.com>