Author: tkreuzer
Date: Mon Feb 6 14:35:09 2012
New Revision: 55460
URL:
http://svn.reactos.org/svn/reactos?rev=55460&view=rev
Log:
[NTOSKRNL]
Add a modification that I missed to apply.
Modified:
trunk/reactos/ntoskrnl/mm/ARM3/pagfault.c
Modified: trunk/reactos/ntoskrnl/mm/ARM3/pagfault.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/ntoskrnl/mm/ARM3/pagfault.…
==============================================================================
--- trunk/reactos/ntoskrnl/mm/ARM3/pagfault.c [iso-8859-1] (original)
+++ trunk/reactos/ntoskrnl/mm/ARM3/pagfault.c [iso-8859-1] Mon Feb 6 14:35:09 2012
@@ -764,6 +764,9 @@
return STATUS_SUCCESS;
}
+ /* Get the current thread */
+ CurrentThread = PsGetCurrentThread();
+
// Check for a fault on the page table or hyperspace
if (MI_IS_PAGE_TABLE_OR_HYPER_ADDRESS(Address))
{
@@ -781,8 +784,6 @@
CurrentProcess = NULL;
}
- /* Get the current thread */
- CurrentThread = PsGetCurrentThread();
/* Acquire the working set lock */
KeRaiseIrql(APC_LEVEL, &LockIrql);