ARM: Fix wrong dmb
authorRussell King <rmk+kernel@arm.linux.org.uk>
Tue, 12 Jan 2010 18:59:16 +0000 (18:59 +0000)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Tue, 12 Jan 2010 18:59:16 +0000 (18:59 +0000)
commit7511bce4069de39ea04b14c1e1d55c249f9ce808
treebefa78be1f9631b9fc3d5cbc10cef9e8fcd641bd
parentcc20b900be7aa8e456aff82dfcb55fb15c508962
ARM: Fix wrong dmb

The __kuser_cmpxchg code uses an ARMv6 dmb instruction, rather than
one based upon the architecture being built for.  Switch to using
the macro provided for this purpose, which also eliminates the
need for an ifdef.

Acked-by: Nicolas Pitre <nico@fluxnic.net>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
arch/arm/kernel/entry-armv.S