]> git.saurik.com Git - apple/xnu.git/blobdiff - osfmk/arm64/pinst.s
xnu-7195.101.1.tar.gz
[apple/xnu.git] / osfmk / arm64 / pinst.s
index 740a6391528c153b0b44875e2c31becfb184f592..868ff8d18bad42ee7b43f6b9393cbee6254528be 100644 (file)
@@ -104,7 +104,7 @@ _pinst_set_sctlr:
 
 #endif /* defined(KERNEL_INTEGRITY_KTRR) */
 
-#if defined(KERNEL_INTEGRITY_KTRR)
+#if defined(KERNEL_INTEGRITY_KTRR) || defined(KERNEL_INTEGRITY_CTRR)
 
        .text
        .section        __LAST,__pinst
@@ -123,5 +123,5 @@ _pinst_spsel_1:
        check_instruction x2, x3, __pinst_spsel_1, 0xd65f03c0d50041bf
        b __pinst_spsel_1
 
-#endif /* defined(KERNEL_INTEGRITY_KTRR)*/
+#endif /* defined(KERNEL_INTEGRITY_KTRR) || defined(KERNEL_INTEGRITY_CTRR) */