branch | RCL_3 |
changeset 42 | a179b74831c9 |
parent 41 | 0ffb4e86fcc9 |
child 43 | c1f20ce4abcf |
--- a/kernel/eka/memmodel/epoc/flexible/mmu/mrom.cpp Thu Jul 15 20:11:42 2010 +0300 +++ b/kernel/eka/memmodel/epoc/flexible/mmu/mrom.cpp Thu Aug 19 11:14:22 2010 +0300 @@ -502,6 +502,8 @@ } TAny* null = 0; + if(aDevice->iType & DPagingDevice::EMediaExtension) + __e32_atomic_store_ord_ptr(&iDevice, null); if(!__e32_atomic_cas_ord_ptr(&iDevice, &null, aDevice)) // set iDevice=aDevice if it was originally 0 { // ROM paging device already registered...