[SPARC64]: Fix typo in dump_tl1_traplog()

Actually make use of the 'limit' we compute.

Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
David S. Miller 2006-02-20 00:54:09 -08:00
parent 37133c006c
commit 39334a4b2c

View file

@ -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",