summaryrefslogtreecommitdiffstats
path: root/sys/sun4v
diff options
context:
space:
mode:
authorkmacy <kmacy@FreeBSD.org>2006-12-17 03:51:12 +0000
committerkmacy <kmacy@FreeBSD.org>2006-12-17 03:51:12 +0000
commit6795d7528dafe4542404d5c897996ab60825164e (patch)
treeaf36a9ac23a78b06f122745b5e8422cb69acee28 /sys/sun4v
parent4f9056e41299681208520834b50d9112a12ece4c (diff)
downloadFreeBSD-src-6795d7528dafe4542404d5c897996ab60825164e.zip
FreeBSD-src-6795d7528dafe4542404d5c897996ab60825164e.tar.gz
remove TRAP_TRACING code that wasn't getting used
pc_caller is no longer part of pcpu
Diffstat (limited to 'sys/sun4v')
-rw-r--r--sys/sun4v/sun4v/exception.S10
1 files changed, 0 insertions, 10 deletions
diff --git a/sys/sun4v/sun4v/exception.S b/sys/sun4v/sun4v/exception.S
index b3d87db..4e3d9bc 100644
--- a/sys/sun4v/sun4v/exception.S
+++ b/sys/sun4v/sun4v/exception.S
@@ -1574,7 +1574,6 @@ END(tl0_intr)
mov 1, lock_bit ; \
add addr, 8, addr ; \
sllx lock_bit, 56, lock_bit ; \
- stxa %o7, [PCPU(CALLER)]%asi ; /* XXX DEBUG */\
label1: ; \
ldxa [addr]%asi, oldval; \
or oldval, lock_bit, newval; \
@@ -1954,15 +1953,6 @@ END(fork_trampoline)
#define TRAP_ENTRY_SHIFT 5
#define TRAP_ENTRY_MASK 0x1ff
ENTRY(tl1_trap)
-#ifdef TRAP_TRACING
- GET_PCPU_PHYS_SCRATCH(%g6)
- mov 1, %g6
- sll %g6, RW_SHIFT, %g6
- add %g6, PC_TSBWBUF, %g6
- add PCPU_REG, %g6, %g6
- wr %g0, ASI_REAL, %asi
- TTRACE_ADD_SAFE(%g6, 0, 0, 0, 0, 0)
-#endif
! assume no tl1 handler
rdpr %tpc, %g7
OpenPOWER on IntegriCloud