FRV: Don't make smp_{r, w, }mb() interpolate MEMBAR when CONFIG_SMP=n [try #2]
commitf17520e1f19172057328e50ffed01a42534921e9
authorDavid Howells <dhowells@redhat.com>
Thu, 10 Apr 2008 15:11:05 +0000 (10 16:11 +0100)
committerLinus Torvalds <torvalds@linux-foundation.org>
Thu, 10 Apr 2008 20:41:29 +0000 (10 13:41 -0700)
tree34d23d8bfff4511687b91c93d9bb09b4fa9d931f
parented9b949f55bc8a6bb6083ce0eddb53d06aee302a
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