diff options
Diffstat (limited to 'include/xen')
-rw-r--r-- | include/xen/page.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/include/xen/page.h b/include/xen/page.h index 12765b6f9517..c5ed20bb3fe9 100644 --- a/include/xen/page.h +++ b/include/xen/page.h | |||
@@ -3,6 +3,11 @@ | |||
3 | 3 | ||
4 | #include <asm/xen/page.h> | 4 | #include <asm/xen/page.h> |
5 | 5 | ||
6 | static inline unsigned long page_to_mfn(struct page *page) | ||
7 | { | ||
8 | return pfn_to_mfn(page_to_pfn(page)); | ||
9 | } | ||
10 | |||
6 | struct xen_memory_region { | 11 | struct xen_memory_region { |
7 | phys_addr_t start; | 12 | phys_addr_t start; |
8 | phys_addr_t size; | 13 | phys_addr_t size; |