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-cris/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-cris/processor.h')
| -rw-r--r-- | include/asm-cris/processor.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/asm-cris/processor.h b/include/asm-cris/processor.h index bfa6e9ff3e83..6d79bc072840 100644 --- a/include/asm-cris/processor.h +++ b/include/asm-cris/processor.h @@ -142,6 +142,6 @@ extern inline unsigned long thread_saved_pc(struct thread_struct *t) #define init_task (init_task_union.task) #define init_stack (init_task_union.stack) -#define cpu_relax() do { } while (0) +#define cpu_relax() barrier() #endif /* __ASM_CRIS_PROCESSOR_H */ |
