Author: tkreuzer
Date: Tue Dec 28 16:03:46 2010
New Revision: 50191
URL:
http://svn.reactos.org/svn/reactos?rev=50191&view=rev
Log:
[NTOSKRNL]
- Use SLIST_ENTRY instead of SINGLE_LIST_ENTRY for interlocked operations
- Remove unused variable
Modified:
branches/cmake-bringup/ntoskrnl/include/internal/amd64/mm.h
branches/cmake-bringup/ntoskrnl/include/internal/ob_x.h
Modified: branches/cmake-bringup/ntoskrnl/include/internal/amd64/mm.h
URL:
http://svn.reactos.org/svn/reactos/branches/cmake-bringup/ntoskrnl/include/…
==============================================================================
--- branches/cmake-bringup/ntoskrnl/include/internal/amd64/mm.h [iso-8859-1] (original)
+++ branches/cmake-bringup/ntoskrnl/include/internal/amd64/mm.h [iso-8859-1] Tue Dec 28
16:03:46 2010
@@ -157,8 +157,6 @@
MI_MAKE_PROTOTYPE_PTE(IN PMMPTE NewPte,
IN PMMPTE PointerPte)
{
- ULONG_PTR Offset;
-
/* Store the Address */
NewPte->u.Long = (ULONG64)PointerPte;
Modified: branches/cmake-bringup/ntoskrnl/include/internal/ob_x.h
URL:
http://svn.reactos.org/svn/reactos/branches/cmake-bringup/ntoskrnl/include/…
==============================================================================
--- branches/cmake-bringup/ntoskrnl/include/internal/ob_x.h [iso-8859-1] (original)
+++ branches/cmake-bringup/ntoskrnl/include/internal/ob_x.h [iso-8859-1] Tue Dec 28
16:03:46 2010
@@ -358,14 +358,14 @@
{
/* The free was within the Depth */
InterlockedPushEntrySList(&List->L.ListHead,
- (PSINGLE_LIST_ENTRY)Buffer);
+ (PSLIST_ENTRY)Buffer);
}
}
else
{
/* The free was within the Depth */
InterlockedPushEntrySList(&List->L.ListHead,
- (PSINGLE_LIST_ENTRY)Buffer);
+ (PSLIST_ENTRY)Buffer);
}
}