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
/
x86
/
um
/
asm
/
processor.h
diff --git
a/arch/x86/um/asm/processor.h
b/arch/x86/um/asm/processor.h
index 233ee09c1ce88b44fea8366a8e0c43593abe7eb9..01597afa8888e0f6a083714aaa284dd7292c62ef 100644
(file)
--- a/
arch/x86/um/asm/processor.h
+++ b/
arch/x86/um/asm/processor.h
@@
-26,6
+26,7
@@
static inline void rep_nop(void)
}
#define cpu_relax() rep_nop()
+#define cpu_relax_yield() cpu_relax()
#define cpu_relax_lowlatency() cpu_relax()
#define task_pt_regs(t) (&(t)->thread.regs)