diff options
author | Vladimir Murzin <murzin.v@gmail.com> | 2012-09-17 12:57:08 -0400 |
---|---|---|
committer | Jonas Bonn <jonas@southpole.se> | 2012-10-11 05:27:19 -0400 |
commit | 9b76beb071be6fbfd0743feedfdd844f57d4f345 (patch) | |
tree | 6c9040db6cc311db01c00ba2b865eddb44c2e3b0 /arch | |
parent | e2bebb4ae6d9ac4ffc524db67f7ecb205a173f77 (diff) |
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 30462f1fe959..43decdbdb2ed 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); | |||
103 | 103 | ||
104 | #define init_stack (init_thread_union.stack) | 104 | #define init_stack (init_thread_union.stack) |
105 | 105 | ||
106 | #define cpu_relax() do { } while (0) | 106 | #define cpu_relax() barrier() |
107 | 107 | ||
108 | #endif /* __ASSEMBLY__ */ | 108 | #endif /* __ASSEMBLY__ */ |
109 | #endif /* __ASM_OPENRISC_PROCESSOR_H */ | 109 | #endif /* __ASM_OPENRISC_PROCESSOR_H */ |