From: David Mosberger Date: Mon, 10 Feb 2003 10:22:30 +0000 (-0800) Subject: ia64: Minor cleanups. X-Git-Tag: lia64-v2.5.60~33^2~1 X-Git-Url: http://git.neil.brown.name/?a=commitdiff_plain;h=2ee7e4a319e58159b808e89954add237be07f6dc;p=history.git ia64: Minor cleanups. --- diff --git a/arch/ia64/kernel/entry.S b/arch/ia64/kernel/entry.S index 5ed695e62d4d..20c417d57bb9 100644 --- a/arch/ia64/kernel/entry.S +++ b/arch/ia64/kernel/entry.S @@ -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 diff --git a/arch/ia64/tools/print_offsets.c b/arch/ia64/tools/print_offsets.c index 5f52857e3dd0..47d935d73fb1 100644 --- a/arch/ia64/tools/print_offsets.c +++ b/arch/ia64/tools/print_offsets.c @@ -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