aboutsummaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorMartin Schwidefsky <[email protected]>2006-09-30 23:27:44 -0700
committerLinus Torvalds <[email protected]>2006-10-01 00:39:22 -0700
commitcdc39363d33506b0e067d41fc91f89d186bdf7f7 (patch)
treeabbc303abbccd730b56c35bd021f8ff57e4f5929 /include/linux
parentef6edc9746dc2bfdacf44eefd5f881179971c478 (diff)
[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 <[email protected]> Signed-off-by: Martin Schwidefsky <[email protected]> Cc: Ingo Molnar <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions