svn commit: r259006 - head/sys/powerpc/powerpc
Andreas Tobler
andreast at FreeBSD.org
Thu Dec 5 21:25:57 UTC 2013
Author: andreast
Date: Thu Dec 5 21:25:56 2013
New Revision: 259006
URL: http://svnweb.freebsd.org/changeset/base/259006
Log:
In case we have many continous regions without gaps we have to make soure that
we collapse them into one region. The previous version missed to go back one
step and do it again.
Modified:
head/sys/powerpc/powerpc/platform.c
Modified: head/sys/powerpc/powerpc/platform.c
==============================================================================
--- head/sys/powerpc/powerpc/platform.c Thu Dec 5 21:22:51 2013 (r259005)
+++ head/sys/powerpc/powerpc/platform.c Thu Dec 5 21:25:56 2013 (r259006)
@@ -148,6 +148,7 @@ mem_regions(struct mem_region **phys, in
memcpy(&aregions[i], &aregions[i+1],
(naregions - i - 1)*sizeof(*aregions));
naregions--;
+ i--;
}
}
}
More information about the svn-src-head
mailing list