Changes in kernel/generic/src/mm/frame.c [b2fa1204:566da7f8] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/generic/src/mm/frame.c
rb2fa1204 r566da7f8 391 391 392 392 /* Allocate frames from zone */ 393 size_t index ;393 size_t index = (size_t) -1; 394 394 int avail = bitmap_allocate_range(&zone->bitmap, count, zone->base, 395 395 FRAME_LOWPRIO, constraint, &index); 396 396 397 397 ASSERT(avail); 398 ASSERT(index != (size_t) -1); 398 399 399 400 /* Update frame reference count */ … … 901 902 } 902 903 903 #ifdef CONFIG_DEBUG904 904 size_t avail = frame_total_free_get_internal(); 905 #endif906 905 907 906 irq_spinlock_unlock(&zones.lock, true);
Note:
See TracChangeset
for help on using the changeset viewer.