[parisc-linux] xchg/cmpxchg defined in wrong place?
Alan Cox
alan@lxorguk.ukuu.org.uk
Sat, 30 Dec 2000 16:46:57 +0000 (GMT)
> way to inline xchg or cmpxchg for parisc at the moment. And given the
> dependendencies between asm/system.h, asm/spinlock.h, and asm/atomic.h,
> I'm not trying to inline them. Perhaps when the definitions formally move
> to atomic.h (or other more appropriate place).
>
> And to add insult to injury, drivers/char/drm/drmP.h (the only visible
> consumer of __HAVE_ARCH_CMPXCHG) doesn't even explicitly include
> asm/system.h!
Seems a reasonable thing to try and move to atomic.h yes
>