Changeset e32e092 in mainline for kernel/test/mm/falloc2.c
- Timestamp:
- 2008-06-06T07:34:21Z (17 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- eb1c0a3
- Parents:
- 40257f5
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/test/mm/falloc2.c
r40257f5 re32e092 56 56 index_t k; 57 57 58 uintptr_t * frames = (uintptr_t *) malloc(MAX_FRAMES * sizeof(uintptr_t), FRAME_ATOMIC);58 void **frames = (void **) malloc(MAX_FRAMES * sizeof(void *), FRAME_ATOMIC); 59 59 if (frames == NULL) { 60 60 if (!sh_quiet) … … 74 74 allocated = 0; 75 75 for (i = 0; i < (MAX_FRAMES >> order); i++) { 76 frames[allocated] = (uintptr_t)frame_alloc(order, FRAME_ATOMIC | FRAME_KA);76 frames[allocated] = frame_alloc(order, FRAME_ATOMIC | FRAME_KA); 77 77 if (frames[allocated]) { 78 78 memsetb(frames[allocated], FRAME_SIZE << order, val);
Note:
See TracChangeset
for help on using the changeset viewer.