summaryrefslogtreecommitdiffstats
path: root/sys/sparc64
diff options
context:
space:
mode:
authormarius <marius@FreeBSD.org>2015-12-30 00:17:37 +0000
committermarius <marius@FreeBSD.org>2015-12-30 00:17:37 +0000
commitf051dcad0775edede26c36c576146167f312243b (patch)
tree11a2c8d429c6f2b3101898278aff5e338e738c42 /sys/sparc64
parentd4f8a20c6b14e759c306002f671aeb60d9d98687 (diff)
downloadFreeBSD-src-f051dcad0775edede26c36c576146167f312243b.zip
FreeBSD-src-f051dcad0775edede26c36c576146167f312243b.tar.gz
Adapt CATR() to r283283.
Diffstat (limited to 'sys/sparc64')
-rw-r--r--sys/sparc64/include/ktr.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/sparc64/include/ktr.h b/sys/sparc64/include/ktr.h
index 0a7f0e1..0a7f233 100644
--- a/sys/sparc64/include/ktr.h
+++ b/sys/sparc64/include/ktr.h
@@ -74,9 +74,9 @@ l2: add r2, 1, r3 ; \
* NB: this clobbers %y.
*/
#define CATR(mask, desc, r1, r2, r3, l1, l2, l3) \
- set mask, r1 ; \
- SET(ktr_mask, r3, r2) ; \
- lduw [r2], r2 ; \
+ setx mask, r3, r1 ; \
+ setx ktr_mask, r3, r2 ; \
+ ldx [r2], r2 ; \
and r2, r1, r1 ; \
brz r1, l3 ## f ; \
nop ; \
OpenPOWER on IntegriCloud