Changeset 7ee0e2f in mainline for test/mm/falloc2/test.c


Ignore:
Timestamp:
2006-06-26T10:18:05Z (19 years ago)
Author:
Ondrej Palkovsky <ondrap@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
2f40fe4
Parents:
e45f81a
Message:

Remove unneeded FRAME_PANIC.
Fix some things broken by last commit.

File:
1 edited

Legend:

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

    re45f81a r7ee0e2f  
    5252void falloc(void * arg)
    5353{
    54         int status, order, run, allocated, i;
     54        int order, run, allocated, i;
    5555        __u8 val = THREAD->tid % THREADS;
    5656        index_t k;
     
    6666                        allocated = 0;
    6767                        for (i = 0; i < (MAX_FRAMES >> order); i++) {
    68                                 frames[allocated] = frame_alloc_rc(order, FRAME_ATOMIC | FRAME_KA, &status);
    69                                 if (status == 0) {
     68                                frames[allocated] = (__address)frame_alloc(order, FRAME_ATOMIC | FRAME_KA);
     69                                if (frames[allocated]) {
    7070                                        memsetb(frames[allocated], FRAME_SIZE << order, val);
    7171                                        allocated++;
Note: See TracChangeset for help on using the changeset viewer.