ia64/xen-unstable
changeset 18431:c759a6cef79f
Remove guest_physmap_max_mem_pages(), which is no longer usefully
defined in any architecture.
Signed-off-by: Tim Deegan <Tim.Deegan@citrix.com>
defined in any architecture.
Signed-off-by: Tim Deegan <Tim.Deegan@citrix.com>
author | Keir Fraser <keir.fraser@citrix.com> |
---|---|
date | Wed Sep 03 14:14:18 2008 +0100 (2008-09-03) |
parents | a4cf79209a28 |
children | 1e98ea5c8604 |
files | xen/common/domctl.c xen/include/asm-ia64/shadow.h xen/include/asm-x86/shadow.h |
line diff
1.1 --- a/xen/common/domctl.c Wed Sep 03 12:45:59 2008 +0100 1.2 +++ b/xen/common/domctl.c Wed Sep 03 14:14:18 2008 +0100 1.3 @@ -655,9 +655,6 @@ long do_domctl(XEN_GUEST_HANDLE(xen_domc 1.4 spin_lock(&d->page_alloc_lock); 1.5 if ( new_max >= d->tot_pages ) 1.6 { 1.7 - ret = guest_physmap_max_mem_pages(d, new_max); 1.8 - if ( ret != 0 ) 1.9 - break; 1.10 d->max_pages = new_max; 1.11 ret = 0; 1.12 }
2.1 --- a/xen/include/asm-ia64/shadow.h Wed Sep 03 12:45:59 2008 +0100 2.2 +++ b/xen/include/asm-ia64/shadow.h Wed Sep 03 14:14:18 2008 +0100 2.3 @@ -63,8 +63,6 @@ shadow_mark_page_dirty(struct domain *d, 2.4 return 0; 2.5 } 2.6 2.7 -#define guest_physmap_max_mem_pages(d, n) (0) 2.8 - 2.9 #endif // _XEN_SHADOW_H 2.10 2.11 /*
3.1 --- a/xen/include/asm-x86/shadow.h Wed Sep 03 12:45:59 2008 +0100 3.2 +++ b/xen/include/asm-x86/shadow.h Wed Sep 03 14:14:18 2008 +0100 3.3 @@ -115,8 +115,6 @@ static inline void shadow_remove_all_sha 3.4 sh_remove_shadows(v, gmfn, 0 /* Be thorough */, 1 /* Must succeed */); 3.5 } 3.6 3.7 -#define guest_physmap_max_mem_pages(d, n) (0) 3.8 - 3.9 #endif /* _XEN_SHADOW_H */ 3.10 3.11 /*