kernel/eka/memmodel/epoc/flexible/mmu/x86/xmmu.cpp
branchRCL_3
changeset 257 3e88ff8f41d5
parent 256 c1f20ce4abcf
--- a/kernel/eka/memmodel/epoc/flexible/mmu/x86/xmmu.cpp	Tue Aug 31 16:34:26 2010 +0300
+++ b/kernel/eka/memmodel/epoc/flexible/mmu/x86/xmmu.cpp	Wed Sep 01 12:34:56 2010 +0100
@@ -546,15 +546,6 @@
 	if(TUint(aAddr^KIPCAlias)<TUint(KIPCAliasAreaSize))
 		return KErrBadDescriptor; // prevent access to alias region
 
-#ifdef _DEBUG
-	if (KDebugNum(KFORCEKUPAGEFAULTS))
-		{
-		TInt r = ThePager.FlushRegion(aProcess, aAddr, aSize);
-		if (r != KErrNone)
-			return r;
-		}
-#endif
-	
 	// Grab the mmu lock before opening a reference on os asid so that this thread 
 	// is in an implicit critical section and therefore can't leak the reference by
 	// dying before iAliasLinAddr is set.