Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 10 Apr 2006 04:38:52 GMT
From:      John-Mark Gurney <jmg@FreeBSD.org>
To:        Perforce Change Reviews <perforce@freebsd.org>
Subject:   PERFORCE change 94897 for review
Message-ID:  <200604100438.k3A4cqMx029772@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=94897

Change 94897 by jmg@jmg_arlene on 2006/04/10 04:38:07

	don't put the end too far out..  forgot to divide by the IO_PAGE_SIZE..

Affected files ...

.. //depot/projects/kmacy_sun4v/src/sys/sun4v/sun4v/hviommu.c#6 edit

Differences ...

==== //depot/projects/kmacy_sun4v/src/sys/sun4v/sun4v/hviommu.c#6 (text+ko) ====

@@ -220,7 +220,7 @@
 	end = him->him_dvmabase + him->him_dvmasize - 1;
 	if (rman_init(&him->him_rman) != 0 ||
 	    rman_manage_region(&him->him_rman, him->him_dvmabase >>
-	    IO_PAGE_SHIFT, end) != 0)
+	    IO_PAGE_SHIFT, end >> IO_PAGE_SHIFT) != 0)
 		panic("%s: can't initalize rman", __func__);
 
 	return him;



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200604100438.k3A4cqMx029772>