summaryrefslogtreecommitdiffstats
path: root/sys/sparc64
diff options
context:
space:
mode:
authorattilio <attilio@FreeBSD.org>2011-05-31 20:48:58 +0000
committerattilio <attilio@FreeBSD.org>2011-05-31 20:48:58 +0000
commita924571ff72281d66b56beff01ea2b9ed8de6961 (patch)
tree4921b240c37563ec3537c2d9ef82577aa8242c1f /sys/sparc64
parent066c7ac96c87ad7070c7f2469bab58ef10a9f636 (diff)
downloadFreeBSD-src-a924571ff72281d66b56beff01ea2b9ed8de6961.zip
FreeBSD-src-a924571ff72281d66b56beff01ea2b9ed8de6961.tar.gz
Fix KTR_CPUMASK in order to accept a string representing a cpuset_t.
This introduce all the underlying support for making this possible (via the function cpusetobj_strscan() and keeps ktr_cpumask exported. sparc64 implements its own assembly primitives for tracing events and needs to properly check it. Anyway the sparc64 logic is not implemented yet due to lack of knowledge (by me) and time (by marius), but it is just a matter of using ktr_cpumask when possible. Tested and fixed by: pluknet Reviewed by: marius
Diffstat (limited to 'sys/sparc64')
-rw-r--r--sys/sparc64/include/ktr.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/sparc64/include/ktr.h b/sys/sparc64/include/ktr.h
index 5948ba2..2a9966b 100644
--- a/sys/sparc64/include/ktr.h
+++ b/sys/sparc64/include/ktr.h
@@ -85,7 +85,9 @@ l2: add r2, 1, r3 ; \
lduw [PCPU(MID)], r1 ; \
mov 1, r2 ; \
sllx r2, r1, r1 ; \
+#ifdef notyet \
TEST(ktr_cpumask, r1, r2, r3, l3) ; \
+#endif \
ATR(desc, r1, r2, r3, l1, l2)
#endif /* LOCORE */
OpenPOWER on IntegriCloud