[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [PATCH 18/36] Alloc: introduce page_list_for_each_reverse
From: Luca Miccio <lucmiccio@xxxxxxxxx> Signed-off-by: Luca Miccio <lucmiccio@xxxxxxxxx> --- xen/include/xen/mm.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/xen/include/xen/mm.h b/xen/include/xen/mm.h index 3be754da92..f0861ed5bb 100644 --- a/xen/include/xen/mm.h +++ b/xen/include/xen/mm.h @@ -488,6 +488,8 @@ page_list_splice(struct page_list_head *list, struct page_list_head *head) list_for_each_entry_safe(pos, tmp, head, list) # define page_list_for_each_safe_reverse(pos, tmp, head) \ list_for_each_entry_safe_reverse(pos, tmp, head, list) +# define page_list_for_each_reverse(pos, head) \ + list_for_each_entry_reverse(pos, head, list) #endif static inline unsigned int get_order_from_bytes(paddr_t size) -- 2.30.2
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |