c6x: use asm-generic/barrier.h
authorMark Salter <msalter@redhat.com>
Fri, 21 Sep 2012 18:35:49 +0000 (14:35 -0400)
committerMark Salter <msalter@redhat.com>
Mon, 24 Sep 2012 18:39:36 +0000 (14:39 -0400)
commitb02d6175859dfbdecb5ea6562867092b5d69d64e
treea4f0e934e3429462c4dfbdf749a5904874ace048
parent979570e02981d4a8fc20b3cc8fd651856c98ee9d
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>
arch/c6x/include/asm/Kbuild
arch/c6x/include/asm/barrier.h [deleted file]