[mips]: Don't hard-code PHYS_AVAIL_ENTRIES.
This commit is contained in:
parent
3e47d7787e
commit
8de7408125
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user