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)
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

index 9de6f396cf85d69aa9f4afd17dea1c188fd13c88..4d5a3edff49ebfe5f660c9233c8bb94f39deb41c 100644 (file)
@@ -102,7 +102,7 @@ _GLOBAL(giveup_altivec)
        MTMSRD(r5)                      /* enable use of VMX now */
        isync
        PPC_LCMPI       0,r3,0
-       beqlr-                          /* if no previous owner, done */
+       beqlr                           /* if no previous owner, done */
        addi    r3,r3,THREAD            /* want THREAD of task */
        PPC_LL  r5,PT_REGS(r3)
        PPC_LCMPI       0,r5,0