Skip to content

Commit

Permalink
c6x: use asm-generic/barrier.h
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
mosalter committed Sep 24, 2012
1 parent 979570e commit b02d617
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 27 deletions.
1 change: 1 addition & 0 deletions arch/c6x/include/asm/Kbuild
Expand Up @@ -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
Expand Down
27 changes: 0 additions & 27 deletions arch/c6x/include/asm/barrier.h

This file was deleted.

0 comments on commit b02d617

Please sign in to comment.