Changeset e32e092 in mainline for kernel/test/mm/falloc2.c


Ignore:
Timestamp:
2008-06-06T07:34:21Z (17 years ago)
Author:
Jiri Svoboda <jirik.svoboda@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
eb1c0a3
Parents:
40257f5
Message:

Declare arguments for memstr.h operations as pointers instead of uintptr_t.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • kernel/test/mm/falloc2.c

    r40257f5 re32e092  
    5656        index_t k;
    5757       
    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);
    5959        if (frames == NULL) {
    6060                if (!sh_quiet)
     
    7474                        allocated = 0;
    7575                        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);
    7777                                if (frames[allocated]) {
    7878                                        memsetb(frames[allocated], FRAME_SIZE << order, val);
Note: See TracChangeset for help on using the changeset viewer.