summaryrefslogtreecommitdiffstats
path: root/arch/arm/include/asm/atomic.h
diff options
context:
space:
mode:
authorVasili Galka <vvv444@gmail.com>2014-06-10 16:16:14 +0300
committerTom Rini <trini@ti.com>2014-06-11 16:27:05 -0400
commit7d89982b7af6ec6b2ff0e26f8de640d1d18458a1 (patch)
treed56f0fec8a214883824f002a5dbb364f090d0a69 /arch/arm/include/asm/atomic.h
parent4b9ca09399c6b5105d2bd1860f183d7a95e05f5c (diff)
downloadtalos-obmc-uboot-7d89982b7af6ec6b2ff0e26f8de640d1d18458a1.tar.gz
talos-obmc-uboot-7d89982b7af6ec6b2ff0e26f8de640d1d18458a1.zip
Remove ${objtree}/include/asm/proc/ link
mkconfig links ${objtree}/include/asm/proc/ to ${srctree}/arch/${arch}/include/asm/proc-armv/. This seems to be a remnant from the past. Ever since its introduction in 2003 it is used only in ARM build and always links to same place, so let's simplify the code, remove it and reference directly where needed. Successful MAKEALL for ARM and PowerPC verified on Linux. Signed-off-by: Vasili Galka <vvv444@gmail.com>
Diffstat (limited to 'arch/arm/include/asm/atomic.h')
-rw-r--r--arch/arm/include/asm/atomic.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/include/asm/atomic.h b/arch/arm/include/asm/atomic.h
index 1b22eeb5fc..34c07fe500 100644
--- a/arch/arm/include/asm/atomic.h
+++ b/arch/arm/include/asm/atomic.h
@@ -25,7 +25,7 @@ typedef struct { volatile int counter; } atomic_t;
#define ATOMIC_INIT(i) { (i) }
#ifdef __KERNEL__
-#include <asm/proc/system.h>
+#include <asm/proc-armv/system.h>
#define atomic_read(v) ((v)->counter)
#define atomic_set(v,i) (((v)->counter) = (i))
OpenPOWER on IntegriCloud