mirror of
https://github.com/reactos/reactos.git
synced 2024-11-23 03:23:34 +08: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
@ -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 New Issue
Block a user