1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-14 08:54:58 +00:00

LibC: Expose PAGE_ROUND_UP in mallocdefs.h

This commit is contained in:
Sahan Fernando 2021-06-05 18:06:36 +10:00 committed by Ali Mohammad Pur
parent c93f73c617
commit 6fb08f20e3
2 changed files with 2 additions and 2 deletions

View file

@ -24,8 +24,6 @@
#define RECYCLE_BIG_ALLOCATIONS
#define PAGE_ROUND_UP(x) ((((size_t)(x)) + PAGE_SIZE - 1) & (~(PAGE_SIZE - 1)))
static Threading::Lock& malloc_lock()
{
static u32 lock_storage[sizeof(Threading::Lock) / sizeof(u32)];