From: Martin Schwidefsky Date: Sun, 1 Oct 2006 06:27:44 +0000 (-0700) Subject: [PATCH] Directed yield: direct yield of spinlocks for powerpc X-Git-Tag: v2.6.19-rc1~598 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=cdc39363d33506b0e067d41fc91f89d186bdf7f7;p=pandora-kernel.git [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 Signed-off-by: Martin Schwidefsky Cc: Ingo Molnar Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed