aboutsummaryrefslogtreecommitdiffstats
path: root/arch/blackfin/include/asm/system.h
diff options
context:
space:
mode:
authorRobin Getz <rgetz@blackfin.uclinux.org>2009-01-07 10:14:39 -0500
committerBryan Wu <cooloney@kernel.org>2009-01-07 10:14:39 -0500
commit26fe19f76027b05c39faa9b728912631e91ec182 (patch)
treeb66ea7b4f8d56dac40aa8af919d64f71c8c0a18c /arch/blackfin/include/asm/system.h
parent2377feb4ce1cd42b7c1d266f466d69597d9dac7f (diff)
Blackfin arch: Update some inline assembly, tweak some register constraints
Signed-off-by: Robin Getz <rgetz@blackfin.uclinux.org> Signed-off-by: Bryan Wu <cooloney@kernel.org>
Diffstat (limited to 'arch/blackfin/include/asm/system.h')
-rw-r--r--arch/blackfin/include/asm/system.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/arch/blackfin/include/asm/system.h b/arch/blackfin/include/asm/system.h
index dea92037dff5..aa7d87b62b28 100644
--- a/arch/blackfin/include/asm/system.h
+++ b/arch/blackfin/include/asm/system.h
@@ -44,10 +44,10 @@
44/* 44/*
45 * Force strict CPU ordering. 45 * Force strict CPU ordering.
46 */ 46 */
47#define nop() asm volatile ("nop;\n\t"::) 47#define nop() __asm__ __volatile__ ("nop;\n\t" : : )
48#define mb() asm volatile ("" : : :"memory") 48#define mb() __asm__ __volatile__ ("" : : : "memory")
49#define rmb() asm volatile ("" : : :"memory") 49#define rmb() __asm__ __volatile__ ("" : : : "memory")
50#define wmb() asm volatile ("" : : :"memory") 50#define wmb() __asm__ __volatile__ ("" : : : "memory")
51#define set_mb(var, value) do { (void) xchg(&var, value); } while (0) 51#define set_mb(var, value) do { (void) xchg(&var, value); } while (0)
52#define read_barrier_depends() do { } while(0) 52#define read_barrier_depends() do { } while(0)
53 53