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:
parent
c93f73c617
commit
6fb08f20e3
2 changed files with 2 additions and 2 deletions
|
@ -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)];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue