kernel/eka/memmodel/epoc/moving/mchunk.cpp
changeset 152 657f875b013e
parent 36 538db54a451d
--- a/kernel/eka/memmodel/epoc/moving/mchunk.cpp	Thu May 27 14:17:14 2010 +0300
+++ b/kernel/eka/memmodel/epoc/moving/mchunk.cpp	Fri Jun 11 15:02:23 2010 +0300
@@ -467,7 +467,8 @@
 		{
 		// Allocate a block of contiguous RAM from the free pool
 		TInt numPages=(endOffset-offset)>>m.iPageShift;
-		r=m.AllocContiguousRam(numPages<<m.iPageShift, nextPage, GetPageType(), 0);
+		__NK_ASSERT_DEBUG(EPageFixed == GetPageType());
+		r=m.AllocContiguousRam(numPages<<m.iPageShift, nextPage, 0);
 		if (r!=KErrNone)
 			return r;
 		if(clearRam)