aboutsummaryrefslogtreecommitdiffstats
path: root/xen/xsm/dummy.c
diff options
context:
space:
mode:
authorKeir Fraser <keir.fraser@citrix.com>2009-01-14 11:15:01 +0000
committerKeir Fraser <keir.fraser@citrix.com>2009-01-14 11:15:01 +0000
commit2d2f7977a052e655db6748be5dabf5a58f5c5e32 (patch)
tree2975cca7fdacdc36cda921407eaa8b3bd9a4e044 /xen/xsm/dummy.c
parentb1b4a612b656d35d4f026f4f3d1dd6700194f18e (diff)
downloadxen-2d2f7977a052e655db6748be5dabf5a58f5c5e32.tar.gz
xen-2d2f7977a052e655db6748be5dabf5a58f5c5e32.tar.bz2
xen-2d2f7977a052e655db6748be5dabf5a58f5c5e32.zip
Remove unused XENMEM_translate_pfn_list.
Never used by a guest OS (except in IA64 hcall translation layer) and obsoleted in the tools for ages. Recent usage by qemu-dm is now removed. Signed-off-by: Keir Fraser <keir.fraser@citrix.com>
Diffstat (limited to 'xen/xsm/dummy.c')
-rw-r--r--xen/xsm/dummy.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/xen/xsm/dummy.c b/xen/xsm/dummy.c
index d14172e41a..9e94724e21 100644
--- a/xen/xsm/dummy.c
+++ b/xen/xsm/dummy.c
@@ -180,11 +180,6 @@ static int dummy_grant_query_size (struct domain *d1, struct domain *d2)
return 0;
}
-static int dummy_translate_gpfn_list (struct domain *d, unsigned long mfn)
-{
- return 0;
-}
-
static int dummy_memory_adjust_reservation (struct domain *d1,
struct domain *d2)
{
@@ -522,7 +517,6 @@ void xsm_fixup_ops (struct xsm_operations *ops)
set_to_dummy_if_null(ops, alloc_security_evtchn);
set_to_dummy_if_null(ops, free_security_evtchn);
- set_to_dummy_if_null(ops, translate_gpfn_list);
set_to_dummy_if_null(ops, memory_adjust_reservation);
set_to_dummy_if_null(ops, memory_stat_reservation);
set_to_dummy_if_null(ops, memory_pin_page);