#elif defined(CONFIG_PMALLOC_METHOD_SIMPLE)
- struct llist_header idle_order[MAX_PAGE_ORDERS];
+ struct list_head idle_order[MAX_PAGE_ORDERS];
int count[MAX_PAGE_ORDERS];
#endif
static inline unsigned int
count_order(size_t page_count) {
- unsigned int po = ILOG2(page_count);
+ unsigned int po = ilog2(page_count);
assert(!(page_count % (1 << po)));
return po;
}