svn commit: r333826 - head/sys/powerpc/ofw
Justin Hibbits
jhibbits at FreeBSD.org
Sat May 19 03:47:30 UTC 2018
Author: jhibbits
Date: Sat May 19 03:47:28 2018
New Revision: 333826
URL: https://svnweb.freebsd.org/changeset/base/333826
Log:
Fix a manual copy from the original diff for r333825
The 'else' was in the original diff.
Submitted by: Breno Leitao
Modified:
head/sys/powerpc/ofw/ofw_machdep.c
Modified: head/sys/powerpc/ofw/ofw_machdep.c
==============================================================================
--- head/sys/powerpc/ofw/ofw_machdep.c Sat May 19 03:45:38 2018 (r333825)
+++ head/sys/powerpc/ofw/ofw_machdep.c Sat May 19 03:47:28 2018 (r333826)
@@ -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
More information about the svn-src-all
mailing list