projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e2bebb4
)
openrisc: Make cpu_relax() invoke barrier()
author
Vladimir Murzin
<murzin.v@gmail.com>
Mon, 17 Sep 2012 16:57:08 +0000
(20:57 +0400)
committer
Jonas Bonn
<jonas@southpole.se>
Thu, 11 Oct 2012 09:27:19 +0000
(11:27 +0200)
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>
arch/openrisc/include/asm/processor.h
patch
|
blob
|
history
diff --git
a/arch/openrisc/include/asm/processor.h
b/arch/openrisc/include/asm/processor.h
index 30462f1fe959298cdf492bd8c18e3879fce7a50f..43decdbdb2ed8c8d4a4efafd164c99aae33e23c7 100644
(file)
--- 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 */