}
#ifdef CONFIG_AMLOGIC_CMA
- isolated -= node_page_state(pgdat, NR_CMA_ISOLATED);
+ isolated -= node_page_state(pgdat, (enum node_stat_item)NR_CMA_ISOLATED);
#endif /* CONFIG_AMLOGIC_CMA */
/*
* GFP_NOIO/GFP_NOFS callers are allowed to isolate more pages, so they
#ifdef CONFIG_AMLOGIC_CMA
WARN_ONCE(isolated > inactive,
"isolated:%ld, cma:%ld, inactive:%ld, mask:%x, file:%d\n",
- isolated, node_page_state(pgdat, NR_CMA_ISOLATED),
+ isolated, node_page_state(pgdat, (enum node_stat_item)NR_CMA_ISOLATED),
inactive, sc->gfp_mask, file);
#endif /* CONFIG_AMLOGIC_CMA */
return isolated > inactive;