mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-16 10:20:30 +00:00
Fix a manual copy from the original diff for r333825
The 'else' was in the original diff. Submitted by: Breno Leitao
This commit is contained in:
parent
876f3b9295
commit
c07c77a311
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=333826
@ -352,7 +352,7 @@ ofw_mem_regions(struct mem_region *memp, int *memsz,
|
||||
if (OF_getproplen(phandle, "linux,usable-memory") >= 0)
|
||||
res = parse_ofw_memory(phandle, "linux,usable-memory",
|
||||
&availp[asz]);
|
||||
if (OF_getproplen(phandle, "available") >= 0)
|
||||
else if (OF_getproplen(phandle, "available") >= 0)
|
||||
res = parse_ofw_memory(phandle, "available",
|
||||
&availp[asz]);
|
||||
else
|
||||
|
Loading…
Reference in New Issue
Block a user