diff options
author | Mark Kettenis <kettenis@cvs.openbsd.org> | 2008-03-30 13:39:54 +0000 |
---|---|---|
committer | Mark Kettenis <kettenis@cvs.openbsd.org> | 2008-03-30 13:39:54 +0000 |
commit | d977b27b58ebebee5f26f451084235b136651c4a (patch) | |
tree | 596e08815bb4edb1814ab2c04dec1673e8fafdb8 /sys/arch | |
parent | 37acbf0e13a665ca92ffbbff85d6275d37214116 (diff) |
Remove for #if 0'ed out code I left behind with the previous commit.
Diffstat (limited to 'sys/arch')
-rw-r--r-- | sys/arch/sparc64/sparc64/locore.s | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/sys/arch/sparc64/sparc64/locore.s b/sys/arch/sparc64/sparc64/locore.s index 92d21c43192..a7caaae7b79 100644 --- a/sys/arch/sparc64/sparc64/locore.s +++ b/sys/arch/sparc64/sparc64/locore.s @@ -1,4 +1,4 @@ -/* $OpenBSD: locore.s,v 1.127 2008/03/30 12:30:01 kettenis Exp $ */ +/* $OpenBSD: locore.s,v 1.128 2008/03/30 13:39:53 kettenis Exp $ */ /* $NetBSD: locore.s,v 1.137 2001/08/13 06:10:10 jdolecek Exp $ */ /* @@ -4252,17 +4252,10 @@ gl0_x: rdpr %tstate, %l0 rdpr %tpc, %l1 rdpr %tnpc, %l2 -#if 0 - rdpr %tl, %l3 ! Dump our trap frame now we have taken the IRQ - stw %l6, [%sp + CC64FSZ + BIAS + TF_Y] ! Silly, but we need to save this for rft - dec %l3 - wrpr %g0, %l3, %tl -#else wrpr %g0, 0, %tl ! Dump our trap frame now we have taken the IRQ stw %l6, [%sp + CC64FSZ + BIAS + TF_Y] ! Silly, but we need to save this for rft -#endif sth %l5, [%sp + CC64FSZ + BIAS + TF_TT]! debug stx %l0, [%sp + CC64FSZ + BIAS + TF_TSTATE] ! set up intrframe/clockframe stx %l1, [%sp + CC64FSZ + BIAS + TF_PC] |