svn commit: r292897 - head/sys/sparc64/include

Marius Strobl marius at FreeBSD.org
Wed Dec 30 00:17:38 UTC 2015


Author: marius
Date: Wed Dec 30 00:17:37 2015
New Revision: 292897
URL: https://svnweb.freebsd.org/changeset/base/292897

Log:
  Adapt CATR() to r283283.

Modified:
  head/sys/sparc64/include/ktr.h

Modified: head/sys/sparc64/include/ktr.h
==============================================================================
--- head/sys/sparc64/include/ktr.h	Wed Dec 30 00:04:57 2015	(r292896)
+++ head/sys/sparc64/include/ktr.h	Wed Dec 30 00:17:37 2015	(r292897)
@@ -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 ; \


More information about the svn-src-head mailing list