Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 3 Jun 2017 10:40:45 +0000 (UTC)
From:      Andrew Turner <andrew@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r319515 - head/sys/arm/arm
Message-ID:  <201706031040.v53AejVP064913@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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];
 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201706031040.v53AejVP064913>