Kernel - Removed debug from elf and mmap
[tpg/acess2.git] / Kernel / include / tpl_mm_phys_bitmap.h
index 19ef509..89c942b 100644 (file)
@@ -386,8 +386,8 @@ int MM_SetPageNode(tPAddr PAddr, void *Node)
 
 int MM_GetPageNode(tPAddr PAddr, void **Node)
 {
-       PAddr >>= 12;
        if( !MM_GetRefCount(PAddr) )    return 1;
+       PAddr >>= 12;
        
        if( !MM_GetPhysAddr( (tVAddr)&gapPageNodes[PAddr] ) ) {
                *Node = NULL;

UCC git Repository :: git.ucc.asn.au