X-Git-Url: https://scm.lunaixsky.com/lunaix-os.git/blobdiff_plain/c166bd62fbb907f95f79f621e2a2fb4fdde08e01..1025235c72c31f7fa7b648c0e32ddcaa68a8f66a:/lunaix-os/includes/lunaix/mm/pmm.h diff --git a/lunaix-os/includes/lunaix/mm/pmm.h b/lunaix-os/includes/lunaix/mm/pmm.h index 60a5c68..b5dcb97 100644 --- a/lunaix-os/includes/lunaix/mm/pmm.h +++ b/lunaix-os/includes/lunaix/mm/pmm.h @@ -25,16 +25,16 @@ struct pmem_pool struct ppage* pool_start; struct ppage* pool_end; -#if defined(CONFIG_PMALLOC_NCONTIG) +#if defined(CONFIG_PMALLOC_METHOD_NCONTIG) struct llist_header idle_page; struct llist_header busy_page; -#elif defined(CONFIG_PMALLOC_BUDDY) +#elif defined(CONFIG_PMALLOC_METHOD_BUDDY) struct llist_header idle_order[MAX_PAGE_ORDERS]; -#elif defined(CONFIG_PMALLOC_SIMPLE) +#elif defined(CONFIG_PMALLOC_METHOD_SIMPLE) struct llist_header idle_order[MAX_PAGE_ORDERS]; int count[MAX_PAGE_ORDERS];