diff options
author | Paul Gortmaker <paul.gortmaker@windriver.com> | 2012-04-01 16:38:46 -0400 |
---|---|---|
committer | Chris Metcalf <cmetcalf@tilera.com> | 2012-04-02 11:57:37 -0400 |
commit | 34f2c0ac111aaf090c7d2432dab532640870733a (patch) | |
tree | 3744df1dd437ecf3b0e4edf4bee2a9b4ed6e258b /arch/tile/kernel | |
parent | dd775ae2549217d3ae09363e3edb305d0fa19928 (diff) | |
download | kernel_goldelico_gta04-34f2c0ac111aaf090c7d2432dab532640870733a.zip kernel_goldelico_gta04-34f2c0ac111aaf090c7d2432dab532640870733a.tar.gz kernel_goldelico_gta04-34f2c0ac111aaf090c7d2432dab532640870733a.tar.bz2 |
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>
Diffstat (limited to 'arch/tile/kernel')
-rw-r--r-- | arch/tile/kernel/process.c | 1 | ||||
-rw-r--r-- | arch/tile/kernel/stack.c | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/arch/tile/kernel/process.c b/arch/tile/kernel/process.c index 30caeca..ee01b1c 100644 --- a/arch/tile/kernel/process.c +++ b/arch/tile/kernel/process.c @@ -28,6 +28,7 @@ #include <linux/tracehook.h> #include <linux/signal.h> #include <asm/stack.h> +#include <asm/switch_to.h> #include <asm/homecache.h> #include <asm/syscalls.h> #include <asm/traps.h> diff --git a/arch/tile/kernel/stack.c b/arch/tile/kernel/stack.c index 37ee4d0..0be6b01 100644 --- a/arch/tile/kernel/stack.c +++ b/arch/tile/kernel/stack.c @@ -25,6 +25,7 @@ #include <asm/page.h> #include <asm/tlbflush.h> #include <asm/ucontext.h> +#include <asm/switch_to.h> #include <asm/sigframe.h> #include <asm/stack.h> #include <arch/abi.h> |