summaryrefslogtreecommitdiff
path: root/include/asm-arm/processor.h
diff options
context:
space:
mode:
authorAnton Blanchard <anton@samba.org>2002-07-29 16:37:00 -0700
committerLinus Torvalds <torvalds@home.transmeta.com>2002-07-29 16:37:00 -0700
commit1a196c8a8ba93acbb87be379bc78eb910c01c6c9 (patch)
tree1544317017c179161bdbb905043a85c90ca02342 /include/asm-arm/processor.h
parent947ad94a9c2f5c6aa6d419ee75eaeee99050a26d (diff)
[PATCH] make cpu_relax a barrier on all architectures
Make cpu_relax() on all architectures a gcc barrier to match x86.
Diffstat (limited to 'include/asm-arm/processor.h')
-rw-r--r--include/asm-arm/processor.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/asm-arm/processor.h b/include/asm-arm/processor.h
index 50e9701ef6d1..9a43b8495bcd 100644
--- a/include/asm-arm/processor.h
+++ b/include/asm-arm/processor.h
@@ -59,7 +59,7 @@ extern void release_thread(struct task_struct *);
unsigned long get_wchan(struct task_struct *p);
-#define cpu_relax() do { } while (0)
+#define cpu_relax() barrier()
/*
* Create a new kernel thread