]> err.no Git - linux-2.6/commit
[PATCH] alpha: atomic dependency fix
authorAndrew Morton <akpm@osdl.org>
Tue, 25 Oct 2005 06:05:58 +0000 (23:05 -0700)
committerLinus Torvalds <torvalds@g5.osdl.org>
Tue, 25 Oct 2005 16:32:46 +0000 (09:32 -0700)
commit0db9ae4a79381a5a3d272ccb51851c48c4bcbb6d
tree2799d939a04135e036eece1159771badac48e6e8
parentc14e2cfc18659c6ca67c2e10417c432eb978d976
[PATCH] alpha: atomic dependency fix

My alpha build is exploding because asm/atomic.h now needs smb_mb(), which is
over in the (not included) system.h.

I fear what will happen if I include system.h into atomic.h, so let's put the
barriers into their own header file.

Cc: Richard Henderson <rth@twiddle.net>
Cc: Ivan Kokshaysky <ink@jurassic.park.msu.ru>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
include/asm-alpha/atomic.h
include/asm-alpha/barrier.h [new file with mode: 0644]
include/asm-alpha/system.h