svn commit: r319515 - head/sys/arm/arm

Andrew Turner andrew at FreeBSD.org
Sat Jun 3 10:40:46 UTC 2017


Author: andrew
Date: Sat Jun  3 10:40:45 2017
New Revision: 319515
URL: https://svnweb.freebsd.org/changeset/base/319515

Log:
  Make it an error to build armv6 without INTRNG enabled. Most kernel configs
  have been updated for this, with the exception of the two marked as
  NO_UNIVERSE in r319514.

Modified:
  head/sys/arm/arm/machdep.c

Modified: head/sys/arm/arm/machdep.c
==============================================================================
--- head/sys/arm/arm/machdep.c	Sat Jun  3 10:38:41 2017	(r319514)
+++ head/sys/arm/arm/machdep.c	Sat Jun  3 10:40:45 2017	(r319515)
@@ -103,6 +103,10 @@ __FBSDID("$FreeBSD$");
 #error FreeBSD/arm doesn't provide compatibility with releases prior to 10
 #endif
 
+#if __ARM_ARCH >= 6 && !defined(INTRNG)
+#error armv6 requires INTRNG
+#endif
+
 struct pcpu __pcpu[MAXCPU];
 struct pcpu *pcpup = &__pcpu[0];
 


More information about the svn-src-all mailing list