Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • kernel/generic/src/mm/frame.c

    r566da7f8 rb2fa1204  
    391391       
    392392        /* Allocate frames from zone */
    393         size_t index = (size_t) -1;
     393        size_t index;
    394394        int avail = bitmap_allocate_range(&zone->bitmap, count, zone->base,
    395395            FRAME_LOWPRIO, constraint, &index);
    396396       
    397397        ASSERT(avail);
    398         ASSERT(index != (size_t) -1);
    399398       
    400399        /* Update frame reference count */
     
    902901                }
    903902               
     903#ifdef CONFIG_DEBUG
    904904                size_t avail = frame_total_free_get_internal();
     905#endif
    905906               
    906907                irq_spinlock_unlock(&zones.lock, true);
Note: See TracChangeset for help on using the changeset viewer.