ARM64: juno: disable NOR flash node by default
[linux/fpc-iii.git] / include / xen / page.h
blob1daae485e3360b3f8b30aea342b85b365230e705
1 #ifndef _XEN_PAGE_H
2 #define _XEN_PAGE_H
4 #include <asm/xen/page.h>
6 static inline unsigned long xen_page_to_gfn(struct page *page)
8 return pfn_to_gfn(page_to_pfn(page));
11 struct xen_memory_region {
12 unsigned long start_pfn;
13 unsigned long n_pfns;
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 */