git.samba.org
/
sfrench
/
cifs-2.6.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
openrisc: Make cpu_relax() invoke barrier()
[sfrench/cifs-2.6.git]
/
arch
/
openrisc
/
include
/
asm
/
processor.h
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 */