diff options
author | Martin Schwidefsky <schwidefsky@de.ibm.com> | 2006-10-01 08:27:44 +0200 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-10-01 09:39:22 +0200 |
commit | cdc39363d33506b0e067d41fc91f89d186bdf7f7 (patch) | |
tree | abbc303abbccd730b56c35bd021f8ff57e4f5929 /include/asm-s390/setup.h | |
parent | [PATCH] Directed yield: cpu_relax variants for spinlocks and rw-locks (diff) | |
download | linux-cdc39363d33506b0e067d41fc91f89d186bdf7f7.tar.xz linux-cdc39363d33506b0e067d41fc91f89d186bdf7f7.zip |
[PATCH] Directed yield: direct yield of spinlocks for powerpc
Powerpc already has a directed yield for CONFIG_PREEMPT="n". To make it
work with CONFIG_PREEMPT="y" as well the _raw_{spin,read,write}_relax
primitives need to be defined to call __spin_yield() for spinlocks and
__rw_yield() for rw-locks.
Acked-by: Paul Mackerras <paulus@samba.org>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Cc: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'include/asm-s390/setup.h')
0 files changed, 0 insertions, 0 deletions