powerpc: Remove static branch hint in giveup_altivec
authorAnton Blanchard <anton@samba.org>
Sun, 8 May 2011 21:20:19 +0000 (21:20 +0000)
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>
Thu, 19 May 2011 04:30:42 +0000 (14:30 +1000)
commitba00ce1d6e08ad06f19f2ac53fd5c60bbe3fbeeb
treedd0eca5139eb0a2fe55fcfa60feb1f3d03763360
parentd988f0e3f84cb8a4f85ccdbca6f6fefcc37bedcb
powerpc: Remove static branch hint in giveup_altivec

A static branch hint will override dynamic branch prediction on
recent POWER CPUs. Since we are about to use more altivec in the
kernel remove the static hint in giveup_altivec that assumes
a userspace task is using altivec.

Signed-off-by: Anton Blanchard <anton@samba.org>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
arch/powerpc/kernel/vector.S