summaryrefslogtreecommitdiffstats
path: root/sys/sparc64
diff options
context:
space:
mode:
authormarius <marius@FreeBSD.org>2015-12-30 18:57:29 +0000
committermarius <marius@FreeBSD.org>2015-12-30 18:57:29 +0000
commit145664c6751612bf7643f2b985f18e5c0695be8b (patch)
treedf0cc3d84fadf9be950d432e45f9c9fbff92e953 /sys/sparc64
parent20eb798a6f54b70ee706a991ffbc3eefea7b0e8b (diff)
downloadFreeBSD-src-145664c6751612bf7643f2b985f18e5c0695be8b.zip
FreeBSD-src-145664c6751612bf7643f2b985f18e5c0695be8b.tar.gz
Change the - hopefully - last piece of ktr(9) to use PCPU_GET(cpuid)
instead of the MD module ID for KTR_CPU.
Diffstat (limited to 'sys/sparc64')
-rw-r--r--sys/sparc64/include/ktr.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/sparc64/include/ktr.h b/sys/sparc64/include/ktr.h
index b129dd8..f8c1b43 100644
--- a/sys/sparc64/include/ktr.h
+++ b/sys/sparc64/include/ktr.h
@@ -59,7 +59,7 @@ l2: add r2, 1, r3 ; \
add r1, r2, r1 ; \
rd %tick, r2 ; \
stx r2, [r1 + KTR_TIMESTAMP] ; \
- lduw [PCPU(MID)], r2 ; \
+ lduw [PCPU(CPUID)], r2 ; \
stw r2, [r1 + KTR_CPU] ; \
stw %g0, [r1 + KTR_LINE] ; \
stx %g0, [r1 + KTR_FILE] ; \
OpenPOWER on IntegriCloud