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

This commit is contained in:
adrian 2015-11-22 02:40:19 +00:00
parent 3e47d7787e
commit 8de7408125

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;
}