[haiku-commits] r37191 - haiku/trunk/src/system/kernel/arch/x86/paging/pae

  • From: ingo_weinhold@xxxxxx
  • To: haiku-commits@xxxxxxxxxxxxx
  • Date: Mon, 21 Jun 2010 15:58:06 +0200 (CEST)

Author: bonefish
Date: 2010-06-21 15:58:05 +0200 (Mon, 21 Jun 2010)
New Revision: 37191
Changeset: http://dev.haiku-os.org/changeset/37191/haiku

Modified:
   haiku/trunk/src/system/kernel/arch/x86/paging/pae/X86VMTranslationMapPAE.cpp
Log:
Simplifications and indentation correction.


Modified: 
haiku/trunk/src/system/kernel/arch/x86/paging/pae/X86VMTranslationMapPAE.cpp
===================================================================
--- 
haiku/trunk/src/system/kernel/arch/x86/paging/pae/X86VMTranslationMapPAE.cpp    
    2010-06-21 13:57:00 UTC (rev 37190)
+++ 
haiku/trunk/src/system/kernel/arch/x86/paging/pae/X86VMTranslationMapPAE.cpp    
    2010-06-21 13:58:05 UTC (rev 37191)
@@ -293,8 +293,6 @@
                                InvalidatePage(start);
                        }
                }
-
-               pinner.Unlock();
        } while (start != 0 && start < end);
 
        return B_OK;
@@ -542,7 +540,7 @@
                                oldEntry = 
X86PagingMethodPAE::TestAndSetPageTableEntry(
                                        &pageTable[index],
                                        (entry & ~(X86_PAE_PTE_PROTECTION_MASK
-                                               | X86_PAE_PTE_MEMORY_TYPE_MASK))
+                                                       | 
X86_PAE_PTE_MEMORY_TYPE_MASK))
                                                | newProtectionFlags
                                                | 
X86PagingMethodPAE::MemoryTypeToPageTableEntryFlags(
                                                        memoryType),
@@ -559,8 +557,6 @@
                                InvalidatePage(start);
                        }
                }
-
-               pinner.Unlock();
        } while (start != 0 && start < end);
 
        return B_OK;


Other related posts:

  • » [haiku-commits] r37191 - haiku/trunk/src/system/kernel/arch/x86/paging/pae - ingo_weinhold