]> git.hungrycats.org Git - linux/commitdiff
ia64: Minor cleanups.
authorDavid Mosberger <davidm@tiger.hpl.hp.com>
Mon, 10 Feb 2003 10:22:30 +0000 (02:22 -0800)
committerDavid Mosberger <davidm@tiger.hpl.hp.com>
Mon, 10 Feb 2003 10:22:30 +0000 (02:22 -0800)
arch/ia64/kernel/entry.S
arch/ia64/tools/print_offsets.c

index 5ed695e62d4dbe0c23620fa3d6cf6d123dbbd77c..20c417d57bb91b58fa4eff08562a17f23c0740ac 100644 (file)
@@ -701,7 +701,7 @@ GLOBAL_ENTRY(ia64_leave_kernel)
         * NOTE: alloc, loadrs, and cover can't be predicated.
         */
 (pNonSys) br.cond.dpnt dont_preserve_current_frame
-       cover                           // add current frame into dirty partition
+       cover                           // add current frame into dirty partition and set cr.ifs
        ;;
        mov r19=ar.bsp                  // get new backing store pointer
        sub r16=r16,r18                 // krbs = old bsp - size of dirty partition
@@ -727,7 +727,7 @@ dont_preserve_current_frame:
 #      define Nregs    14
 #endif
        alloc loc0=ar.pfs,2,Nregs-2,2,0
-       shr.u loc1=r18,9                // RNaTslots <= dirtySize / (64*8) + 1
+       shr.u loc1=r18,9                // RNaTslots <= floor(dirtySize / (64*8))
        sub r17=r17,r18                 // r17 = (physStackedSize + 8) - dirtySize
        ;;
        mov ar.rsc=r19                  // load ar.rsc to be used for "loadrs"
@@ -774,13 +774,13 @@ rse_clear_invalid:
        ;;
        mov loc3=0
        mov loc4=0
-       mov loc9=0
        mov loc5=0
        mov loc6=0
+       mov loc7=0
 (pRecurse) br.call.sptk.many b6=rse_clear_invalid
        ;;
-       mov loc7=0
        mov loc8=0
+       mov loc9=0
        cmp.ne pReturn,p0=r0,in1        // if recursion count != 0, we need to do a br.ret
        mov loc10=0
        mov loc11=0
index 5f52857e3dd0781033a30d177510144d9851c984..47d935d73fb15f8b0befafc77aa73c0b9f52be9a 100644 (file)
@@ -10,7 +10,7 @@
  * gets translated into an assembly file which, in turn, is processed
  * by awk to generate offsets.h.  So if you make any changes to this
  * file, be sure to verify that the awk procedure still works (see
- * prin_offsets.awk).
+ * print_offsets.awk).
  */
 #include <linux/config.h>