linux bame
Paul Bame
bame@puffin.external.hp.com
Wed, 8 Nov 2000 13:36:56 -0700
CVSROOT: /home/cvs/parisc
Module name: linux
Changes by: bame 00/11/08 13:36:56
Modified files:
include/asm-parisc: atomic.h bitops.h spinlock.h system.h
Log message:
Fixed circular dependency of asm-parisc/atomic.h <-> linux/spinlock.h
Moved a bit of spinlock code from spinlock.h to system.h so that it can
be used by atomic.h without atomic having to #include <linux/spinlock.h>
Supplied the 2 required spinlock-related calls so that the atomic.h
operations can work without actually using logic in spinlock.h
Changed bitops.h to use the above calls.
atomic.h should probably have an #ifdef CONFIG_SMP around the whole
file -- see linux/spinlock.h for why.
This locking code might be a good candidate for re-engineering at some point.