aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKeir Fraser <keir.fraser@citrix.com>2008-09-03 14:14:18 +0100
committerKeir Fraser <keir.fraser@citrix.com>2008-09-03 14:14:18 +0100
commitd2733e15982bd9ec2671570b0fef1cf436565380 (patch)
treecc30cfd47d124639c09b9a1adc38e3d13b4132bd
parente28712c33886bf658352260bf7aa18653f8408a9 (diff)
downloadxen-d2733e15982bd9ec2671570b0fef1cf436565380.tar.gz
xen-d2733e15982bd9ec2671570b0fef1cf436565380.tar.bz2
xen-d2733e15982bd9ec2671570b0fef1cf436565380.zip
Remove guest_physmap_max_mem_pages(), which is no longer usefully
defined in any architecture. Signed-off-by: Tim Deegan <Tim.Deegan@citrix.com>
-rw-r--r--xen/common/domctl.c3
-rw-r--r--xen/include/asm-ia64/shadow.h2
-rw-r--r--xen/include/asm-x86/shadow.h2
3 files changed, 0 insertions, 7 deletions
diff --git a/xen/common/domctl.c b/xen/common/domctl.c
index 20b00cf495..81ab74d01b 100644
--- a/xen/common/domctl.c
+++ b/xen/common/domctl.c
@@ -655,9 +655,6 @@ long do_domctl(XEN_GUEST_HANDLE(xen_domctl_t) u_domctl)
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 --git a/xen/include/asm-ia64/shadow.h b/xen/include/asm-ia64/shadow.h
index 935d3059ad..b04fb3c028 100644
--- a/xen/include/asm-ia64/shadow.h
+++ b/xen/include/asm-ia64/shadow.h
@@ -63,8 +63,6 @@ shadow_mark_page_dirty(struct domain *d, unsigned long gpfn)
return 0;
}
-#define guest_physmap_max_mem_pages(d, n) (0)
-
#endif // _XEN_SHADOW_H
/*
diff --git a/xen/include/asm-x86/shadow.h b/xen/include/asm-x86/shadow.h
index 64a6ab31ba..380c8fd1ef 100644
--- a/xen/include/asm-x86/shadow.h
+++ b/xen/include/asm-x86/shadow.h
@@ -115,8 +115,6 @@ static inline void shadow_remove_all_shadows(struct vcpu *v, mfn_t gmfn)
sh_remove_shadows(v, gmfn, 0 /* Be thorough */, 1 /* Must succeed */);
}
-#define guest_physmap_max_mem_pages(d, n) (0)
-
#endif /* _XEN_SHADOW_H */
/*