Author: arty
Date: Sun Dec 3 15:36:50 2006
New Revision: 25032
URL:
http://svn.reactos.org/svn/reactos?rev=25032&view=rev
Log:
Unregress gdb installer.
Modified:
branches/arty-stable/reactos/ntoskrnl/mm/section.c
Modified: branches/arty-stable/reactos/ntoskrnl/mm/section.c
URL:
http://svn.reactos.org/svn/reactos/branches/arty-stable/reactos/ntoskrnl/mm…
==============================================================================
--- branches/arty-stable/reactos/ntoskrnl/mm/section.c (original)
+++ branches/arty-stable/reactos/ntoskrnl/mm/section.c Sun Dec 3 15:36:50 2006
@@ -1381,6 +1381,10 @@
{
MmLockAddressSpace((PMADDRESS_SPACE)&Process->VadRoot);
}
+ else
+ {
+ MmLockAddressSpace(MmGetKernelAddressSpace());
+ }
MmDeleteVirtualMapping(Process,
Address,
@@ -1404,6 +1408,10 @@
if (Process)
{
MmUnlockAddressSpace((PMADDRESS_SPACE)&Process->VadRoot);
+ }
+ else
+ {
+ MmUnlockAddressSpace(MmGetKernelAddressSpace());
}
if (PageOutContext->Private)