X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=arch%2Fsparc64%2Flib%2FU3patch.S;h=e2b6c5e4b95ad02dc0964d2fdc06fcb77e919cb5;hb=987b0145d94eecf292d8b301228356f44611ab7c;hp=ecc302619a6ed387b6d09dda8ae1d32944b97322;hpb=f7ed79d23a47594e7834d66a8f14449796d4f3e6;p=linux-2.6.git diff --git a/arch/sparc64/lib/U3patch.S b/arch/sparc64/lib/U3patch.S index ecc302619..e2b6c5e4b 100644 --- a/arch/sparc64/lib/U3patch.S +++ b/arch/sparc64/lib/U3patch.S @@ -12,8 +12,7 @@ or %g2, %lo(OLD), %g2; \ sub %g1, %g2, %g1; \ sethi %hi(BRANCH_ALWAYS), %g3; \ - sll %g1, 11, %g1; \ - srl %g1, 11 + 2, %g1; \ + srl %g1, 2, %g1; \ or %g3, %lo(BRANCH_ALWAYS), %g3; \ or %g3, %g1, %g3; \ stw %g3, [%g2]; \