diff options
| author | Anton Blanchard <anton@samba.org> | 2002-07-29 16:37:00 -0700 |
|---|---|---|
| committer | Linus Torvalds <torvalds@home.transmeta.com> | 2002-07-29 16:37:00 -0700 |
| commit | 1a196c8a8ba93acbb87be379bc78eb910c01c6c9 (patch) | |
| tree | 1544317017c179161bdbb905043a85c90ca02342 /include/asm-alpha/processor.h | |
| parent | 947ad94a9c2f5c6aa6d419ee75eaeee99050a26d (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-alpha/processor.h')
| -rw-r--r-- | include/asm-alpha/processor.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/asm-alpha/processor.h b/include/asm-alpha/processor.h index cd77be47b2c3..c5a14ee981aa 100644 --- a/include/asm-alpha/processor.h +++ b/include/asm-alpha/processor.h @@ -74,7 +74,7 @@ unsigned long get_wchan(struct task_struct *p); #define KSTK_ESP(tsk) \ ((tsk) == current ? rdusp() : (tsk)->thread_info->pcb.usp) -#define cpu_relax() do { } while (0) +#define cpu_relax() barrier() #define ARCH_HAS_PREFETCH #define ARCH_HAS_PREFETCHW |
