X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=arch%2Fsparc64%2Flib%2FU3patch.S;fp=arch%2Fsparc64%2Flib%2FU3patch.S;h=e2b6c5e4b95ad02dc0964d2fdc06fcb77e919cb5;hb=64ba3f394c830ec48a1c31b53dcae312c56f1604;hp=ecc302619a6ed387b6d09dda8ae1d32944b97322;hpb=be1e6109ac94a859551f8e1774eb9a8469fe055c;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]; \