aboutsummaryrefslogtreecommitdiff
path: root/arch/c6x/include/asm/Kbuild
diff options
context:
space:
mode:
authorMark Salter <msalter@redhat.com>2012-09-21 14:35:49 -0400
committerMark Salter <msalter@redhat.com>2012-09-24 14:39:36 -0400
commitb02d6175859dfbdecb5ea6562867092b5d69d64e (patch)
treea4f0e934e3429462c4dfbdf749a5904874ace048 /arch/c6x/include/asm/Kbuild
parent979570e02981d4a8fc20b3cc8fd651856c98ee9d (diff)
c6x: use asm-generic/barrier.h
A recent patch in the linux-next tree caused a build failure on C6X because C6X didn't define a read_barrier_depends() macro. C6X does not support SMP and the architecture doesn't provide any special memory ordering instructions, so it makes sense to just use the generic barrier.h rather than patching the existing c6x specific header. Signed-off-by: Mark Salter <msalter@redhat.com>
Diffstat (limited to 'arch/c6x/include/asm/Kbuild')
-rw-r--r--arch/c6x/include/asm/Kbuild1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/c6x/include/asm/Kbuild b/arch/c6x/include/asm/Kbuild
index 3af601e31e66..f08e89183cda 100644
--- a/arch/c6x/include/asm/Kbuild
+++ b/arch/c6x/include/asm/Kbuild
@@ -2,6 +2,7 @@ include include/asm-generic/Kbuild.asm
generic-y += atomic.h
generic-y += auxvec.h
+generic-y += barrier.h
generic-y += bitsperlong.h
generic-y += bugs.h
generic-y += cputime.h