Linux 4.1.18
[linux/fpc-iii.git] / include / xen / page.h
blobc5ed20bb3fe96d5f309c5299a55a7ba3b7a140bd
1 #ifndef _XEN_PAGE_H
2 #define _XEN_PAGE_H
4 #include <asm/xen/page.h>
6 static inline unsigned long page_to_mfn(struct page *page)
8 return pfn_to_mfn(page_to_pfn(page));
11 struct xen_memory_region {
12 phys_addr_t start;
13 phys_addr_t size;
16 #define XEN_EXTRA_MEM_MAX_REGIONS 128 /* == E820MAX */
18 extern __initdata
19 struct xen_memory_region xen_extra_mem[XEN_EXTRA_MEM_MAX_REGIONS];
21 extern unsigned long xen_released_pages;
23 #endif /* _XEN_PAGE_H */