]> git.baikalelectronics.ru Git - kernel.git/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)
commit3907a3647eb5d960fa0a753f1999d886cfe32a27
tree2799d939a04135e036eece1159771badac48e6e8
parentba0c15869a262e5c7eedd52f28b4aceddb364f41
[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