summaryrefslogtreecommitdiffstats
path: root/sys/sparc64
diff options
context:
space:
mode:
authormarius <marius@FreeBSD.org>2011-07-02 11:46:23 +0000
committermarius <marius@FreeBSD.org>2011-07-02 11:46:23 +0000
commitef7acc0998cd61806eb4dd8378066576f99f61d6 (patch)
tree73ced09a5ce9f3c615442e7caef37fbde03b8a46 /sys/sparc64
parent100c1f73e93d031e02336e7d110c489326d2bc56 (diff)
downloadFreeBSD-src-ef7acc0998cd61806eb4dd8378066576f99f61d6.zip
FreeBSD-src-ef7acc0998cd61806eb4dd8378066576f99f61d6.tar.gz
Don't waste a delay slot.
Diffstat (limited to 'sys/sparc64')
-rw-r--r--sys/sparc64/sparc64/mp_exception.S4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/sparc64/sparc64/mp_exception.S b/sys/sparc64/sparc64/mp_exception.S
index f1b323a..54a5e4d 100644
--- a/sys/sparc64/sparc64/mp_exception.S
+++ b/sys/sparc64/sparc64/mp_exception.S
@@ -247,8 +247,8 @@ ENTRY(tl_ipi_tlb_range_demap)
ldx [%g5 + ITA_START], %g1
ldx [%g5 + ITA_END], %g2
-1: or %g1, %g3, %g4
sethi %hi(KERNBASE), %g6
+1: or %g1, %g3, %g4
stxa %g0, [%g4] ASI_DMMU_DEMAP
stxa %g0, [%g4] ASI_IMMU_DEMAP
flush %g6
@@ -257,7 +257,7 @@ ENTRY(tl_ipi_tlb_range_demap)
add %g1, %g6, %g1
cmp %g1, %g2
blt,a,pt %xcc, 1b
- nop
+ sethi %hi(KERNBASE), %g6
IPI_DONE(%g5, %g1, %g2, %g3, %g4, %g6)
retry
OpenPOWER on IntegriCloud