diff options
author | andrew <andrew@FreeBSD.org> | 2015-11-21 13:02:34 +0000 |
---|---|---|
committer | andrew <andrew@FreeBSD.org> | 2015-11-21 13:02:34 +0000 |
commit | 04f8e4e4f5ac80e3b1b65dfcc69d4d2969a84099 (patch) | |
tree | 18d43a9fe159ccd3c3ddf066e8c5249415c198e4 /sys/arm/include/bus.h | |
parent | 17bcda38809a6157ad3a5adb2336e431ac39224c (diff) | |
download | FreeBSD-src-04f8e4e4f5ac80e3b1b65dfcc69d4d2969a84099.zip FreeBSD-src-04f8e4e4f5ac80e3b1b65dfcc69d4d2969a84099.tar.gz |
Limit arm_base_bs_tag to ARMv4 and ARMv5, we only used it in one place in
armv6 and that can use fdtbus_bs_tag.
Diffstat (limited to 'sys/arm/include/bus.h')
-rw-r--r-- | sys/arm/include/bus.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/sys/arm/include/bus.h b/sys/arm/include/bus.h index 300ebfb..d83ae8f 100644 --- a/sys/arm/include/bus.h +++ b/sys/arm/include/bus.h @@ -67,6 +67,7 @@ #define _MACHINE_BUS_H_ #include <machine/_bus.h> +#include <machine/acle-compat.h> /* * int bus_space_map (bus_space_tag_t t, bus_addr_t addr, @@ -252,7 +253,9 @@ struct bus_space { bus_size_t, const uint64_t *, bus_size_t); }; +#if __ARM_ARCH < 6 extern bus_space_tag_t arm_base_bs_tag; +#endif /* * Utility macros; INTERNAL USE ONLY. |