diff options
author | Vladimir Murzin <murzin.v@gmail.com> | 2012-09-17 16:57:08 (GMT) |
---|---|---|
committer | Jonas Bonn <jonas@southpole.se> | 2012-10-11 09:27:19 (GMT) |
commit | 9b76beb071be6fbfd0743feedfdd844f57d4f345 (patch) | |
tree | 6c9040db6cc311db01c00ba2b865eddb44c2e3b0 /arch | |
parent | e2bebb4ae6d9ac4ffc524db67f7ecb205a173f77 (diff) | |
download | linux-9b76beb071be6fbfd0743feedfdd844f57d4f345.tar.xz |
openrisc: Make cpu_relax() invoke barrier()
Make cpu_relax() invoke barrier() to be the same as other arches.
Signed-off-by: Vladimir Murzin <murzin.v@gmail.com>
Signed-off-by: Jonas Bonn <jonas@southpole.se>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/openrisc/include/asm/processor.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/openrisc/include/asm/processor.h b/arch/openrisc/include/asm/processor.h index 30462f1..43decdb 100644 --- a/arch/openrisc/include/asm/processor.h +++ b/arch/openrisc/include/asm/processor.h @@ -103,7 +103,7 @@ extern unsigned long thread_saved_pc(struct task_struct *t); #define init_stack (init_thread_union.stack) -#define cpu_relax() do { } while (0) +#define cpu_relax() barrier() #endif /* __ASSEMBLY__ */ #endif /* __ASM_OPENRISC_PROCESSOR_H */ |