mirror of
https://github.com/reactos/reactos.git
synced 2024-12-26 17:14:41 +00:00
[NTOS:MM] Use FORCEINLINE instead of simple inline
inline implies an implementation must exist in another compilation unit
This commit is contained in:
parent
ea331f074c
commit
57e018acf6
1 changed files with 2 additions and 2 deletions
|
@ -868,7 +868,7 @@ MmDeleteKernelStack(PVOID Stack,
|
|||
|
||||
/* balance.c / pagefile.c******************************************************/
|
||||
|
||||
inline VOID UpdateTotalCommittedPages(LONG Delta)
|
||||
FORCEINLINE VOID UpdateTotalCommittedPages(LONG Delta)
|
||||
{
|
||||
/*
|
||||
* Add up all the used "Committed" memory + pagefile.
|
||||
|
@ -880,7 +880,7 @@ inline VOID UpdateTotalCommittedPages(LONG Delta)
|
|||
MiMemoryConsumers[MC_USER].PagesUsed +
|
||||
MiUsedSwapPages;
|
||||
*/
|
||||
|
||||
|
||||
/* Update Commitment */
|
||||
SIZE_T TotalCommittedPages = InterlockedExchangeAddSizeT(&MmTotalCommittedPages, Delta) + Delta;
|
||||
|
||||
|
|
Loading…
Reference in a new issue