]> git.karo-electronics.de Git - karo-tx-linux.git/commit
tile: fix multiple build failures from system.h dismantle
authorPaul Gortmaker <paul.gortmaker@windriver.com>
Sun, 1 Apr 2012 20:38:46 +0000 (16:38 -0400)
committerChris Metcalf <cmetcalf@tilera.com>
Mon, 2 Apr 2012 19:31:49 +0000 (15:31 -0400)
commit38fd58d8b5fd1bc44c357d9f255e437c6e64528a
tree3744df1dd437ecf3b0e4edf4bee2a9b4ed6e258b
parentdd775ae2549217d3ae09363e3edb305d0fa19928
tile: fix multiple build failures from system.h dismantle

Commit bd119c69239322caafdb64517a806037d0d0c70a

    "Disintegrate asm/system.h for Tile"

created the asm/switch_to.h file, but did not add an include
of it to all its users.

Also, commit b4816afa3986704d1404fc48e931da5135820472

        "Move the asm-generic/system.h xchg() implementation to asm-generic/cmpxchg.h"

introduced the concept of asm/cmpxchg.h but the tile arch
never got one.  Fork the cmpxchg content out of the asm/atomic.h
file to create one.

Acked-by: David Howells <dhowells@redhat.com>
Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
Signed-off-by: Chris Metcalf <cmetcalf@tilera.com>
arch/tile/include/asm/atomic.h
arch/tile/include/asm/cmpxchg.h [new file with mode: 0644]
arch/tile/kernel/process.c
arch/tile/kernel/stack.c