mirror of
https://github.com/freebsd/freebsd-src
synced 2024-10-07 00:50:50 +00:00
[mips]: Don't hard-code PHYS_AVAIL_ENTRIES.
This commit is contained in:
parent
7672ca059a
commit
181f3573ee
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=291154
|
@ -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…
Reference in a new issue