diff options
author | Keir Fraser <keir.fraser@citrix.com> | 2010-06-15 13:20:43 +0100 |
---|---|---|
committer | Keir Fraser <keir.fraser@citrix.com> | 2010-06-15 13:20:43 +0100 |
commit | 622c5d9ee4f9443a9632dc014f1fda27303aa77e (patch) | |
tree | 793b65bf6b24dedb5a14de6ba68d0f8cf9698e78 /xen/include/asm-x86/mm.h | |
parent | c2c4e65d960453d6d764c837015e817c06c8dcea (diff) | |
download | xen-622c5d9ee4f9443a9632dc014f1fda27303aa77e.tar.gz xen-622c5d9ee4f9443a9632dc014f1fda27303aa77e.tar.bz2 xen-622c5d9ee4f9443a9632dc014f1fda27303aa77e.zip |
x86: put_superpage() must also work for !opt_allow_superpage
This is because the P2M table, when placed at a kernel specified
location, gets populated with large pages, which the domain must have
a way to unmap/recycle.
Additionally when allowing Dom0 to use superpages, they ought to be
tracked accordingly in the superpage frame table.
Signed-off-by: Jan Beulich <jbeulich@novell.com>
Diffstat (limited to 'xen/include/asm-x86/mm.h')
-rw-r--r-- | xen/include/asm-x86/mm.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/xen/include/asm-x86/mm.h b/xen/include/asm-x86/mm.h index f1d6c8dc1c..2005b7be95 100644 --- a/xen/include/asm-x86/mm.h +++ b/xen/include/asm-x86/mm.h @@ -281,6 +281,7 @@ extern void share_xen_page_with_privileged_guests( #define frame_table ((struct page_info *)FRAMETABLE_VIRT_START) #ifdef __x86_64__ #define spage_table ((struct spage_info *)SPAGETABLE_VIRT_START) +int get_superpage(unsigned long mfn, struct domain *d); #endif extern unsigned long max_page; extern unsigned long total_pages; |