Subject: Re: A change to
To: Hiroyuki Bessho <>
From: Jason R Thorpe <>
List: port-arm
Date: 09/18/2002 10:29:49
On Thu, Sep 19, 2002 at 02:09:14AM +0900, Hiroyuki Bessho wrote:

 >     Is it ok to modify sys/arch/arm/include/cpu.h as in following
 > patch?
 >     I want to move prototype of atomic_{set,clear}_bit() so that I can
 > use them in inline functions that are defined in a header file which
 > is included from <machine/intr.h>.

Does this work properly when <machine/intr.h> is included on its own?

Hmmmm... those atomic funcs probably ought to be put in <machine/atomic.h>
as inlines, or something.

        -- Jason R. Thorpe <>