Author: andrew
Date: Wed Jul 18 09:17:37 2018
New Revision: 336447
URL: https://svnweb.freebsd.org/changeset/base/336447

Log:
  Also check if __ARM_ARCH_6KZ__ is defined when detecting when to use ARMv6
  instructions. There is some code that still uses the _ARM_ARCH_* macros.
  
  Sponsored by: DARPA, AFRL

Modified:
  head/sys/arm/include/asm.h

Modified: head/sys/arm/include/asm.h
==============================================================================
--- head/sys/arm/include/asm.h  Wed Jul 18 07:01:34 2018        (r336446)
+++ head/sys/arm/include/asm.h  Wed Jul 18 09:17:37 2018        (r336447)
@@ -195,6 +195,7 @@
 
 #if defined (_HAVE_ARMv7_INSTRUCTIONS) || defined (__ARM_ARCH_6__) || \
        defined (__ARM_ARCH_6J__) || defined (__ARM_ARCH_6K__) || \
+       defined (__ARM_ARCH_6KZ__) || \
        defined (__ARM_ARCH_6Z__) || defined (__ARM_ARCH_6ZK__)
 #define _ARM_ARCH_6
 #define _HAVE_ARMv6_INSTRUCTIONS 1
_______________________________________________
svn-src-head@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"

Reply via email to