Skip to content

Commit b02d617

Browse files
committed
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>
1 parent 979570e commit b02d617

2 files changed

Lines changed: 1 addition & 27 deletions

File tree

‎arch/c6x/include/asm/Kbuild‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ include include/asm-generic/Kbuild.asm
22

33
generic-y += atomic.h
44
generic-y += auxvec.h
5+
generic-y += barrier.h
56
generic-y += bitsperlong.h
67
generic-y += bugs.h
78
generic-y += cputime.h

‎arch/c6x/include/asm/barrier.h‎

Lines changed: 0 additions & 27 deletions
This file was deleted.

0 commit comments

Comments
 (0)