Changeset 53 for trunk/kernel/mm/ppm.c


Ignore:
Timestamp:
Jun 26, 2017, 4:22:00 PM (5 years ago)
Author:
alain
Message:

Compilation OK pout TSAR

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/kernel/mm/ppm.c

    r50 r53  
    264264}  // end ppm_print()
    265265
    266 //////////////////////////u/////////
    267 void ppm_assert_order( ppm_t * ppm )
     266///////////////////////////////////////
     267error_t ppm_assert_order( ppm_t * ppm )
    268268{
    269269        uint32_t       order;
     
    279279                        page = LIST_ELEMENT( iter , page_t , list );
    280280
    281                         assert( (page->order == order) , __FUNCTION__ , "PPM inconsistency" );
     281                        if( page->order != order )  return -1;
    282282                }
    283283        }
    284284
     285    return 0;
     286
    285287}  // end ppm_assert_order()
    286288
Note: See TracChangeset for help on using the changeset viewer.