]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit8318990adead3a16b2632101a44a7559a3d3c345
treea4f0e934e3429462c4dfbdf749a5904874ace048
parentd5a4ab2126e10baa664c588ff48a51b264be7b2d
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]