--- a/kernel/eka/memmodel/epoc/flexible/mmu/mdatapaging.cpp Wed Sep 15 13:42:27 2010 +0300
+++ b/kernel/eka/memmodel/epoc/flexible/mmu/mdatapaging.cpp Wed Oct 13 16:04:24 2010 +0300
@@ -797,15 +797,6 @@
}
// Store the device, blocking any other devices from installing.
- // unless the device is a media extension device
- if(aDevice->iType & DPagingDevice::EMediaExtension)
- {
- delete iSwapManager;
- iSwapManager = NULL;
- TAny* null = 0;
- __e32_atomic_store_ord_ptr(&iDevice, null);
- }
-
if (!NKern::CompareAndSwap((TAny*&)iDevice, (TAny*)NULL, (TAny*)aDevice))
{// Data paging device already installed.
__KTRACE_OPT2(KPAGING,KBOOT,Kern::Printf("**** Attempt to install more than one data paging device !!!!!!!! ****"));