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
/
sh
/
include
/
asm
/
processor.h
diff --git
a/arch/sh/include/asm/processor.h
b/arch/sh/include/asm/processor.h
index f9a09942a32d37249b43ec4139762aaafa16443d..099a99105e1c7f46a1b51904c892c112f415929e 100644
(file)
--- a/
arch/sh/include/asm/processor.h
+++ b/
arch/sh/include/asm/processor.h
@@
-97,6
+97,7
@@
extern struct sh_cpuinfo cpu_data[];
#define cpu_sleep() __asm__ __volatile__ ("sleep" : : : "memory")
#define cpu_relax() barrier()
+#define cpu_relax_yield() cpu_relax()
#define cpu_relax_lowlatency() cpu_relax()
void default_idle(void);