Date: Thu, 5 Dec 2013 21:25:57 +0000 (UTC) From: Andreas Tobler <andreast@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r259006 - head/sys/powerpc/powerpc Message-ID: <201312052125.rB5LPv2M053865@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
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--; } } }
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201312052125.rB5LPv2M053865>