]> git.baikalelectronics.ru Git - kernel.git/commit
FRV: Don't make smp_{r, w, }mb() interpolate MEMBAR when CONFIG_SMP=n [try #2]
authorDavid Howells <dhowells@redhat.com>
Thu, 10 Apr 2008 15:11:05 +0000 (16:11 +0100)
committerLinus Torvalds <torvalds@linux-foundation.org>
Thu, 10 Apr 2008 20:41:29 +0000 (13:41 -0700)
commit5ee1dc9e505951ad2179fe715702f530e3a7b431
tree34d23d8bfff4511687b91c93d9bb09b4fa9d931f
parent214a6fd8f2b7ae89db8e8f32c7dde24261b02394
FRV: Don't make smp_{r, w, }mb() interpolate MEMBAR when CONFIG_SMP=n [try #2]

Don't make smp_{r,w,}mb() interpolate a MEMBAR instruction when CONFIG_SMP=n as
SMP memory barries on UP systems should interpolate a compiler barrier only.

Signed-off-by: David Howells <dhowells@redhat.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
include/asm-frv/system.h