diff options
author | jake <jake@FreeBSD.org> | 2002-06-08 07:21:52 +0000 |
---|---|---|
committer | jake <jake@FreeBSD.org> | 2002-06-08 07:21:52 +0000 |
commit | b13b0b35c1063fa7fce7f1e695c7b7b2b32e1a8e (patch) | |
tree | d76a5da19ad637970cc9e61189a076dafc8727a6 /sys | |
parent | 56400fc9010744bc5bc2c6ff85c05e71a066ec28 (diff) | |
download | FreeBSD-src-b13b0b35c1063fa7fce7f1e695c7b7b2b32e1a8e.zip FreeBSD-src-b13b0b35c1063fa7fce7f1e695c7b7b2b32e1a8e.tar.gz |
Remove test code.
Diffstat (limited to 'sys')
-rw-r--r-- | sys/sparc64/include/smp.h | 1 | ||||
-rw-r--r-- | sys/sparc64/sparc64/mp_exception.S | 15 | ||||
-rw-r--r-- | sys/sparc64/sparc64/mp_exception.s | 15 | ||||
-rw-r--r-- | sys/sparc64/sparc64/mp_machdep.c | 2 |
4 files changed, 0 insertions, 33 deletions
diff --git a/sys/sparc64/include/smp.h b/sys/sparc64/include/smp.h index 03fbc04..f4afd63 100644 --- a/sys/sparc64/include/smp.h +++ b/sys/sparc64/include/smp.h @@ -100,7 +100,6 @@ extern void mp_startup(void); extern char tl_ipi_dcache_page_inval[]; extern char tl_ipi_icache_page_inval[]; extern char tl_ipi_level[]; -extern char tl_ipi_test[]; extern char tl_ipi_tlb_context_demap[]; extern char tl_ipi_tlb_page_demap[]; extern char tl_ipi_tlb_range_demap[]; diff --git a/sys/sparc64/sparc64/mp_exception.S b/sys/sparc64/sparc64/mp_exception.S index d214513..be00834 100644 --- a/sys/sparc64/sparc64/mp_exception.S +++ b/sys/sparc64/sparc64/mp_exception.S @@ -145,21 +145,6 @@ ENTRY(tl_ipi_level) retry END(tl_ipi_level) -ENTRY(tl_ipi_test) -#if KTR_COMPILE & KTR_SMP - CATR(KTR_SMP, "ipi_test: cpuid=%d mid=%d d1=%#lx d2=%#lx" - , %g1, %g2, %g3, 7, 8, 9) - lduw [PCPU(CPUID)], %g2 - stx %g2, [%g1 + KTR_PARM1] - lduw [PCPU(MID)], %g2 - stx %g2, [%g1 + KTR_PARM2] - stx %g4, [%g1 + KTR_PARM3] - stx %g5, [%g1 + KTR_PARM4] -9: -#endif - retry -END(tl_ipi_test) - /* * Demap a page from the dtlb and/or itlb. */ diff --git a/sys/sparc64/sparc64/mp_exception.s b/sys/sparc64/sparc64/mp_exception.s index d214513..be00834 100644 --- a/sys/sparc64/sparc64/mp_exception.s +++ b/sys/sparc64/sparc64/mp_exception.s @@ -145,21 +145,6 @@ ENTRY(tl_ipi_level) retry END(tl_ipi_level) -ENTRY(tl_ipi_test) -#if KTR_COMPILE & KTR_SMP - CATR(KTR_SMP, "ipi_test: cpuid=%d mid=%d d1=%#lx d2=%#lx" - , %g1, %g2, %g3, 7, 8, 9) - lduw [PCPU(CPUID)], %g2 - stx %g2, [%g1 + KTR_PARM1] - lduw [PCPU(MID)], %g2 - stx %g2, [%g1 + KTR_PARM2] - stx %g4, [%g1 + KTR_PARM3] - stx %g5, [%g1 + KTR_PARM4] -9: -#endif - retry -END(tl_ipi_test) - /* * Demap a page from the dtlb and/or itlb. */ diff --git a/sys/sparc64/sparc64/mp_machdep.c b/sys/sparc64/sparc64/mp_machdep.c index d1b86bd..3035573 100644 --- a/sys/sparc64/sparc64/mp_machdep.c +++ b/sys/sparc64/sparc64/mp_machdep.c @@ -321,8 +321,6 @@ cpu_mp_unleash(void *v) while (csa->csa_state != CPU_BOOTSTRAP) ; intr_restore(s); - - cpu_ipi_send(pc->pc_mid, 0, (u_long)tl_ipi_test, 0); } membar(StoreLoad); |