Moved memory-barrier macros out of arch/atomic.h
authorAndrew Waterman <waterman@parcad.millennium.berkeley.edu>
Wed, 27 Jan 2010 21:44:15 +0000 (13:44 -0800)
committerAndrew Waterman <waterman@parcad.millennium.berkeley.edu>
Wed, 27 Jan 2010 21:44:15 +0000 (13:44 -0800)
commitc2009799775310c3fd2a2725b59cb48d44df5584
tree4cef880db21edb0db1cbc078490a1936d41520dc
parenteeeebf84e6c4ad8a4b4ad3719e11b240fc343e6e
Moved memory-barrier macros out of arch/atomic.h

...just so the Xen ring buffer header doesn't have to suck in
the entire arch/atomic.h.  (The real reason is that glibc chokes
on atomic_add, so don't want it polluting the namespace...)
kern/arch/i386/atomic.h
kern/arch/i386/membar.h [new file with mode: 0644]
kern/arch/sparc/atomic.h
kern/arch/sparc/membar.h [new file with mode: 0644]