]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - arch/sparc64/lib/NGpatch.S
Merge branch 'for-linus' of git://git390.osdl.marist.edu/pub/scm/linux-2.6
[linux-2.6-omap-h63xx.git] / arch / sparc64 / lib / NGpatch.S
index f13ec9e4c8a3e622c939f1a159cd9b2dfca5c48c..3b0674fc336630844be3ab8f0e5e174816e7a4e5 100644 (file)
@@ -12,7 +12,8 @@
        or      %g2, %lo(OLD), %g2; \
        sub     %g1, %g2, %g1; \
        sethi   %hi(BRANCH_ALWAYS), %g3; \
-       srl     %g1, 2, %g1; \
+       sll     %g1, 11, %g1; \
+       srl     %g1, 11 + 2, %g1; \
        or      %g3, %lo(BRANCH_ALWAYS), %g3; \
        or      %g3, %g1, %g3; \
        stw     %g3, [%g2]; \