projects
/
linux-2.6-block.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
locking/core: Introduce cpu_relax_yield()
[linux-2.6-block.git]
/
arch
/
powerpc
/
include
/
asm
/
processor.h
diff --git
a/arch/powerpc/include/asm/processor.h
b/arch/powerpc/include/asm/processor.h
index c07c31b0e89e2b4b010127973ba20c32947aef5d..908fa7cb3fb3f76790a353a70c4053e981e55c49 100644
(file)
--- a/
arch/powerpc/include/asm/processor.h
+++ b/
arch/powerpc/include/asm/processor.h
@@
-404,6
+404,7
@@
static inline unsigned long __pack_fe01(unsigned int fpmode)
#define cpu_relax() barrier()
#endif
+#define cpu_relax_yield() cpu_relax()
#define cpu_relax_lowlatency() cpu_relax()
/* Check that a certain kernel stack pointer is valid in task_struct p */