Changes in kernel/generic/src/mm/frame.c [566da7f8:b2fa1204] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/generic/src/mm/frame.c
r566da7f8 rb2fa1204 391 391 392 392 /* Allocate frames from zone */ 393 size_t index = (size_t) -1;393 size_t index; 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);399 398 400 399 /* Update frame reference count */ … … 902 901 } 903 902 903 #ifdef CONFIG_DEBUG 904 904 size_t avail = frame_total_free_get_internal(); 905 #endif 905 906 906 907 irq_spinlock_unlock(&zones.lock, true);
Note:
See TracChangeset
for help on using the changeset viewer.