kernel/eka/memmodel/epoc/multiple/mchunk.cpp
branchGCC_SURGE
changeset 221 39b39e1a406e
parent 152 657f875b013e
--- a/kernel/eka/memmodel/epoc/multiple/mchunk.cpp	Wed Jul 21 14:46:58 2010 +0100
+++ b/kernel/eka/memmodel/epoc/multiple/mchunk.cpp	Thu Jul 22 16:46:39 2010 +0100
@@ -417,7 +417,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)