aboutsummaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorDavid S. Miller <davem@sunset.davemloft.net>2006-02-20 03:54:09 -0500
committerDavid S. Miller <davem@sunset.davemloft.net>2006-03-20 04:13:43 -0500
commit39334a4b2c52a06960c480b1a4a05f5d5375c8bf (patch)
tree6f5c0d6fe367bdac07ab4b07a832126ee78f122d /arch
parent37133c006cd3ff4f4dccb3df88efc446863b515e (diff)
[SPARC64]: Fix typo in dump_tl1_traplog()
Actually make use of the 'limit' we compute. Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'arch')
-rw-r--r--arch/sparc64/kernel/traps.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/sparc64/kernel/traps.c b/arch/sparc64/kernel/traps.c
index 4eb2ee1125d1..78268217b062 100644
--- a/arch/sparc64/kernel/traps.c
+++ b/arch/sparc64/kernel/traps.c
@@ -79,7 +79,7 @@ static void dump_tl1_traplog(struct tl1_traplog *p)
79 "dumping track stack.\n", p->tl); 79 "dumping track stack.\n", p->tl);
80 80
81 limit = (tlb_type == hypervisor) ? 2 : 4; 81 limit = (tlb_type == hypervisor) ? 2 : 4;
82 for (i = 0; i < 4; i++) { 82 for (i = 0; i < limit; i++) {
83 printk(KERN_EMERG 83 printk(KERN_EMERG
84 "TRAPLOG: Trap level %d TSTATE[%016lx] TPC[%016lx] " 84 "TRAPLOG: Trap level %d TSTATE[%016lx] TPC[%016lx] "
85 "TNPC[%016lx] TT[%lx]\n", 85 "TNPC[%016lx] TT[%lx]\n",