diff -r e617ce6878ad xen/common/domctl.c --- a/xen/common/domctl.c Wed Sep 03 10:10:59 2008 +0100 +++ b/xen/common/domctl.c Wed Sep 03 10:16:41 2008 +0100 @@ -655,9 +655,6 @@ long do_domctl(XEN_GUEST_HANDLE(xen_domc spin_lock(&d->page_alloc_lock); if ( new_max >= d->tot_pages ) { - ret = guest_physmap_max_mem_pages(d, new_max); - if ( ret != 0 ) - break; d->max_pages = new_max; ret = 0; } diff -r e617ce6878ad xen/include/asm-ia64/shadow.h --- a/xen/include/asm-ia64/shadow.h Wed Sep 03 10:10:59 2008 +0100 +++ b/xen/include/asm-ia64/shadow.h Wed Sep 03 10:15:05 2008 +0100 @@ -63,8 +63,6 @@ shadow_mark_page_dirty(struct domain *d, return 0; } -#define guest_physmap_max_mem_pages(d, n) (0) - #endif // _XEN_SHADOW_H /* diff -r e617ce6878ad xen/include/asm-x86/shadow.h --- a/xen/include/asm-x86/shadow.h Wed Sep 03 10:10:59 2008 +0100 +++ b/xen/include/asm-x86/shadow.h Wed Sep 03 10:13:07 2008 +0100 @@ -115,8 +115,6 @@ static inline void shadow_remove_all_sha sh_remove_shadows(v, gmfn, 0 /* Be thorough */, 1 /* Must succeed */); } -#define guest_physmap_max_mem_pages(d, n) (0) - #endif /* _XEN_SHADOW_H */ /*