Changeset 7ee0e2f in mainline for test/mm/falloc1/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/falloc1/test.c

    re45f81a r7ee0e2f  
    5555                        allocated = 0;
    5656                        for (i = 0; i < MAX_FRAMES >> order; i++) {
    57                                 frames[allocated] = frame_alloc(order, FRAME_ATOMIC | FRAME_KA);
     57                                frames[allocated] = (__address) frame_alloc(order, FRAME_ATOMIC | FRAME_KA);
    5858                               
    5959                                if (ALIGN_UP(frames[allocated], FRAME_SIZE << order) != frames[allocated]) {
     
    6161                                }
    6262                               
    63                                 if (status == 0) {
     63                                if (frames[allocated]) {
    6464                                        allocated++;
    6565                                } else {
Note: See TracChangeset for help on using the changeset viewer.