[mips]: Don't hard-code PHYS_AVAIL_ENTRIES.

This commit is contained in:
Adrian Chadd 2015-11-22 02:40:19 +00:00
parent 7672ca059a
commit 181f3573ee
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=291154

View file

@ -177,7 +177,7 @@ mips_init(unsigned long memsize, uint64_t ememsize)
{
int i;
for (i = 0; i < 10; i++) {
for (i = 0; i < PHYS_AVAIL_ENTRIES; i++) {
phys_avail[i] = 0;
}