diff options
author | ian <ian@FreeBSD.org> | 2017-03-02 01:18:46 +0000 |
---|---|---|
committer | ian <ian@FreeBSD.org> | 2017-03-02 01:18:46 +0000 |
commit | acd168923c104fa26f6d48db142fa778b5cbc7b1 (patch) | |
tree | 7dbce221b266c2dea6e55c2c4c0bcfcbf09a7b46 /sys/arm/include/atomic.h | |
parent | 15dbec6aad227bffd6f15e2b6dd76a618e2528b2 (diff) | |
download | FreeBSD-src-acd168923c104fa26f6d48db142fa778b5cbc7b1.zip FreeBSD-src-acd168923c104fa26f6d48db142fa778b5cbc7b1.tar.gz |
MFC r312292, r313573:
Stop including sys/types.h from arm's machine/atomic.h, fix the places
where atomic.h was being included without ensuring that types.h (via
param.h) was included first, as required by atomic(9).
Remove arm's cpuconf.h, and references to it, after moving a few lines from
it into pmap-v4.h where they are used. Other than those few lines of
support for different MMU types, nothing in cpuconf.h has been used in our
code for quite a while.
The file existed to set up a variety of symbols to describe the
architecture. Over the past few years we have converted all of our source
to use the new architecture symbols standardized by ARM Inc, and predefined
by both clang and gcc.
Diffstat (limited to 'sys/arm/include/atomic.h')
-rw-r--r-- | sys/arm/include/atomic.h | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/sys/arm/include/atomic.h b/sys/arm/include/atomic.h index 0cf69c9..091e3c1 100644 --- a/sys/arm/include/atomic.h +++ b/sys/arm/include/atomic.h @@ -39,13 +39,10 @@ #ifndef _MACHINE_ATOMIC_H_ #define _MACHINE_ATOMIC_H_ -#include <sys/types.h> #include <machine/armreg.h> #ifndef _KERNEL #include <machine/sysarch.h> -#else -#include <machine/cpuconf.h> #endif #if __ARM_ARCH >= 6 |