svn commit: r336447 - head/sys/arm/include

Andrew Turner andrew at FreeBSD.org
Wed Jul 18 09:17:38 UTC 2018


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


More information about the svn-src-all mailing list