diff options
author | 2008-03-30 13:39:53 +0000 | |
---|---|---|
committer | 2008-03-30 13:39:53 +0000 | |
commit | 90623e9f7eb6905a82e9a7cd74d4edf66a81df40 (patch) | |
tree | 9b73ac9c4edff6b6f1b117a98c39dcd2e37f7da4 | |
parent | More sun4v support. GENERIC and RAMDISK kernels will now boot on both (diff) | |
download | wireguard-openbsd-90623e9f7eb6905a82e9a7cd74d4edf66a81df40.tar.xz wireguard-openbsd-90623e9f7eb6905a82e9a7cd74d4edf66a81df40.zip |
Remove for #if 0'ed out code I left behind with the previous commit.
-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] |