Skip to content

Commit

Permalink
[SPARC64]: Fix typo in dump_tl1_traplog()
Browse files Browse the repository at this point in the history
Actually make use of the 'limit' we compute.

Signed-off-by: David S. Miller <davem@davemloft.net>
  • Loading branch information
David S. Miller committed Mar 20, 2006
1 parent 37133c0 commit 39334a4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion arch/sparc64/kernel/traps.c
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ static void dump_tl1_traplog(struct tl1_traplog *p)
"dumping track stack.\n", p->tl);

limit = (tlb_type == hypervisor) ? 2 : 4;
for (i = 0; i < 4; i++) {
for (i = 0; i < limit; i++) {
printk(KERN_EMERG
"TRAPLOG: Trap level %d TSTATE[%016lx] TPC[%016lx] "
"TNPC[%016lx] TT[%lx]\n",
Expand Down

0 comments on commit 39334a4

Please sign in to comment.