Re: [PATCH] only irq-safe atomic ops

Russell King
2002-02-23T09:38:40Z

On Sat, Feb 23, 2002 at 02:29:48AM -0500, Robert Love wrote:
> This would be atomic and thus preempt-safe on any sane arch I know, as
> long as we are dealing with a normal type int. Admittedly, however, we
> can't be sure what the compiler would do.

Any sane RISC architecture probably doesn't have a single "increment this
memory location" instruction.

--
Russell King (rmk@arm.linux.org.uk) The developer of ARM Linux