Subversion Repositories Kolibri OS

Rev

Rev 1128 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 1128 Rev 1129
Line 223... Line 223...
223
                return NULL;
223
                return NULL;
224
        return kzalloc(n * size, 0);
224
        return kzalloc(n * size, 0);
225
}
225
}
226
 
226
 
Line 227... Line 227...
227
#define ENTRY()   dbgprintf("entry %s\n",__FUNCTION__)
227
#define ENTRY()   dbgprintf("enter %s\n",__FUNCTION__)
228
#define LEAVE()   dbgprintf("leave %s\n",__FUNCTION__)
228
#define LEAVE()   dbgprintf("leave %s\n",__FUNCTION__)
Line 229... Line 229...
229
 
229
 
230
#define ALIGN(x,a)              __ALIGN_MASK(x,(typeof(x))(a)-1)
230
#define ALIGN(x,a)              __ALIGN_MASK(x,(typeof(x))(a)-1)
Line -... Line 231...
-
 
231
#define __ALIGN_MASK(x,mask)    (((x)+(mask))&~(mask))
Line 231... Line 232...
231
#define __ALIGN_MASK(x,mask)    (((x)+(mask))&~(mask))
232