diff -r 4122176ea935 -r 56f325a607ea kernel/eka/memmodel/epoc/flexible/mmu/mmu.cpp --- a/kernel/eka/memmodel/epoc/flexible/mmu/mmu.cpp Mon Dec 21 16:14:42 2009 +0000 +++ b/kernel/eka/memmodel/epoc/flexible/mmu/mmu.cpp Wed Dec 23 11:43:31 2009 +0000 @@ -1037,7 +1037,7 @@ { __KTRACE_OPT(KMMU,Kern::Printf("Mmu::ClaimPhysicalRam(0x%08x,0x%x,0x%08x)",aPhysAddr,aCount,aFlags)); aPhysAddr &= ~KPageMask; - TInt r = iRamPageAllocator->ClaimPhysicalRam(aPhysAddr,aCount); + TInt r = iRamPageAllocator->ClaimPhysicalRam(aPhysAddr,(aCount << KPageShift)); if(r!=KErrNone) return r;