Subversion Repositories HelenOS

Compare Revisions

Ignore whitespace Rev 2122 → Rev 2123

/trunk/kernel/generic/src/mm/slab.c
161,7 → 161,7
slab_t *slab;
size_t fsize;
int i;
int zone=0;
unsigned int zone = 0;
data = frame_alloc_generic(cache->order, FRAME_KA | flags, &zone);
if (!data) {
/trunk/kernel/generic/src/mm/frame.c
230,7 → 230,7
* @param order Size (2^order) of free space we are trying to find
* @param pzone Pointer to preferred zone or NULL, on return contains zone number
*/
static zone_t * find_free_zone_and_lock(uint8_t order, int *pzone)
static zone_t * find_free_zone_and_lock(uint8_t order, unsigned int *pzone)
{
unsigned int i;
zone_t *z;
935,7 → 935,7
* @return Physical address of the allocated frame.
*
*/
void * frame_alloc_generic(uint8_t order, int flags, int *pzone)
void * frame_alloc_generic(uint8_t order, int flags, unsigned int *pzone)
{
ipl_t ipl;
int freed;