Subversion Repositories HelenOS-historic

Compare Revisions

Ignore whitespace Rev 590 → Rev 591

/kernel/trunk/generic/src/mm/heap.c
64,11 → 64,11
ipl_t ipl;
chunk_t *x, *y, *z;
 
size = ALIGN_UP(size, sizeof(__native));
 
if (size == 0)
panic("zero-size allocation request");
size = ALIGN_UP(size, sizeof(__native));
 
x = chunk0;
ipl = interrupts_disable();
spinlock_lock(&heaplock);