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.
This commit is contained in:
andrew 2017-06-03 10:40:45 +00:00
parent cde7ba44ac
commit b599762296

View File

@ -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];