| arm/include/armreg.h should include arm/include/acle-compat.h to get |
| __ARM_ARCH definition that could be undefined otherwise. |
| |
| diff -ru --exclude-from freebsd-src-diff-exclude-names /usr/src/sys/arm/include/armreg.h freebsd-11.1/sys/arm/include/armreg.h |
| --- /usr/src/sys/arm/include/armreg.h 2017-07-21 07:42:04.000000000 +0800 |
| +++ freebsd-11.1/sys/arm/include/armreg.h 2019-12-20 21:39:45.608475195 +0800 |
| @@ -41,6 +41,8 @@ |
| #ifndef MACHINE_ARMREG_H |
| #define MACHINE_ARMREG_H |
| |
| +#include <machine/acle-compat.h> |
| + |
| #define INSN_SIZE 4 |
| #define INSN_COND_MASK 0xf0000000 /* Condition mask */ |
| #define PSR_MODE 0x0000001f /* mode mask */ |