diff options
author | Jeff Roberson <jeff@FreeBSD.org> | 2019-08-16 00:45:14 +0000 |
---|---|---|
committer | Jeff Roberson <jeff@FreeBSD.org> | 2019-08-16 00:45:14 +0000 |
commit | 2194393787801f71cea02463d999fbc1071790fc (patch) | |
tree | b7b2c583734007529b2eb3e24f3cf506dd3599e6 /sys/mips/atheros | |
parent | ccfbff6d592ecb89e9d2195a68d66d691e219b9a (diff) | |
download | src-2194393787801f71cea02463d999fbc1071790fc.tar.gz src-2194393787801f71cea02463d999fbc1071790fc.zip |
Move phys_avail definition into MI code. It is consumed in the MI layer and
doing so adds more flexibility with less redundant code.
Reviewed by: jhb, markj, kib
Sponsored by: Netflix
Differential Revision: https://reviews.freebsd.org/D21250
Notes
Notes:
svn path=/head/; revision=351108
Diffstat (limited to 'sys/mips/atheros')
-rw-r--r-- | sys/mips/atheros/ar531x/ar5315_machdep.c | 3 | ||||
-rw-r--r-- | sys/mips/atheros/ar71xx_machdep.c | 3 |
2 files changed, 4 insertions, 2 deletions
diff --git a/sys/mips/atheros/ar531x/ar5315_machdep.c b/sys/mips/atheros/ar531x/ar5315_machdep.c index c536f810d5a0..f3f6990e020d 100644 --- a/sys/mips/atheros/ar531x/ar5315_machdep.c +++ b/sys/mips/atheros/ar531x/ar5315_machdep.c @@ -42,7 +42,9 @@ __FBSDID("$FreeBSD$"); #include <sys/boot.h> #include <vm/vm.h> +#include <vm/vm_param.h> #include <vm/vm_page.h> +#include <vm/vm_phys.h> #include <net/ethernet.h> @@ -52,7 +54,6 @@ __FBSDID("$FreeBSD$"); #include <machine/hwfunc.h> #include <machine/md_var.h> #include <machine/trap.h> -#include <machine/vmparam.h> #include <mips/atheros/ar531x/ar5315reg.h> diff --git a/sys/mips/atheros/ar71xx_machdep.c b/sys/mips/atheros/ar71xx_machdep.c index 56a1b054995b..f52760211460 100644 --- a/sys/mips/atheros/ar71xx_machdep.c +++ b/sys/mips/atheros/ar71xx_machdep.c @@ -45,7 +45,9 @@ __FBSDID("$FreeBSD$"); #include <sys/reboot.h> #include <vm/vm.h> +#include <vm/vm_param.h> #include <vm/vm_page.h> +#include <vm/vm_phys.h> #include <net/ethernet.h> @@ -55,7 +57,6 @@ __FBSDID("$FreeBSD$"); #include <machine/hwfunc.h> #include <machine/md_var.h> #include <machine/trap.h> -#include <machine/vmparam.h> #include <mips/atheros/ar71xxreg.h> |