projects
/
reactos.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
[NTOS]: This is why you shouldn't let Antoine Dodson commit code.
[reactos.git]
/
reactos
/
ntoskrnl
/
mm
/
ARM3
/
pool.c
diff --git
a/reactos/ntoskrnl/mm/ARM3/pool.c
b/reactos/ntoskrnl/mm/ARM3/pool.c
index
bf04db7
..
8156f67
100644
(file)
--- a/
reactos/ntoskrnl/mm/ARM3/pool.c
+++ b/
reactos/ntoskrnl/mm/ARM3/pool.c
@@
-488,7
+488,7
@@
MiAllocatePoolPages(IN POOL_TYPE PoolType,
//
// Save it into our double-buffered system page directory
//
//
// Save it into our double-buffered system page directory
//
- MmSystemPagePtes[(
ULONG_PTR)PointerPde & (SYSTEM_PD_SIZE - 1
)] = TempPde;
+ MmSystemPagePtes[(
(ULONG_PTR)PointerPde & (SYSTEM_PD_SIZE - 1)) / sizeof(MMPTE
)] = TempPde;
/* Initialize the PFN */
MiInitializePfnForOtherProcess(PageFrameNumber,
/* Initialize the PFN */
MiInitializePfnForOtherProcess(PageFrameNumber,