Subversion Repositories HelenOS

Compare Revisions

Regard whitespace Rev 2306 → Rev 2307

/branches/rcu/boot/genarch/balloc.c
48,6 → 48,9
addr = ballocs->base + ALIGN_UP(ballocs->size, alignment);
if (ALIGN_UP(ballocs->size, alignment) + size > BALLOC_MAX_SIZE)
return NULL;
ballocs->size = ALIGN_UP(ballocs->size, alignment) + size;
return (void *) addr;