]> git.karo-electronics.de Git - karo-tx-linux.git/commit
arch/tile: use #include <asm/atomic.h> in tilepro assembly files
authorChris Metcalf <cmetcalf@tilera.com>
Wed, 10 Aug 2011 17:53:02 +0000 (13:53 -0400)
committerChris Metcalf <cmetcalf@tilera.com>
Wed, 10 Aug 2011 18:33:36 +0000 (14:33 -0400)
commita99fe7bf3744c79a43a07af65d1bbc483843f510
tree0462c7009bc3a4d18870095f252efc7a477fc94e
parent322a8b034003c0d46d39af85bf24fee27b902f48
arch/tile: use #include <asm/atomic.h> in tilepro assembly files

The standard <linux/atomic.h> is not safe to include from assembly, and
in general there's no need for it to be, since it's not very meaningful
for assembly code.

Assembly support in tilepro for atomics does need to get some constants
from the tilepro <asm/atomic.h>, however, so fix those files back to
the way they were, to directly #include <asm/atomic.h>.

Signed-off-by: Chris Metcalf <cmetcalf@tilera.com>
arch/tile/kernel/intvec_32.S
arch/tile/lib/atomic_asm_32.S