aboutsummaryrefslogtreecommitdiffstats
path: root/xen/common/xenoprof.c
diff options
context:
space:
mode:
authorTim Deegan <Tim.Deegan@xensource.com>2007-07-20 11:36:36 +0100
committerTim Deegan <Tim.Deegan@xensource.com>2007-07-20 11:36:36 +0100
commit89e4455a590a1c901250d391aa4eedfd67fef04a (patch)
tree9789bfa2346e2704094bf65b103e78867615c376 /xen/common/xenoprof.c
parent3d41eb2ac8c25ac9c332ea6699361bb1c98fb152 (diff)
downloadxen-89e4455a590a1c901250d391aa4eedfd67fef04a.tar.gz
xen-89e4455a590a1c901250d391aa4eedfd67fef04a.tar.bz2
xen-89e4455a590a1c901250d391aa4eedfd67fef04a.zip
[XEN] replace shadow_* with paging_* in common code
Signed-off-by: Tim Deegan <Tim.Deegan@xensource.com>
Diffstat (limited to 'xen/common/xenoprof.c')
-rw-r--r--xen/common/xenoprof.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/xen/common/xenoprof.c b/xen/common/xenoprof.c
index 9212156f02..e25ad7bb30 100644
--- a/xen/common/xenoprof.c
+++ b/xen/common/xenoprof.c
@@ -13,7 +13,7 @@
#include <xen/guest_access.h>
#include <xen/sched.h>
#include <public/xenoprof.h>
-#include <asm/shadow.h>
+#include <xen/paging.h>
/* Limit amount of pages used for shared buffer (per domain) */
#define MAX_OPROF_SHARED_PAGES 32
@@ -397,7 +397,7 @@ static int add_passive_list(XEN_GUEST_HANDLE(void) arg)
d->xenoprof->domain_type = XENOPROF_DOMAIN_PASSIVE;
passive.nbuf = d->xenoprof->nbuf;
passive.bufsize = d->xenoprof->bufsize;
- if ( !shadow_mode_translate(current->domain) )
+ if ( !paging_mode_translate(current->domain) )
passive.buf_gmaddr = __pa(d->xenoprof->rawbuf);
else
xenoprof_shared_gmfn_with_guest(
@@ -598,7 +598,7 @@ static int xenoprof_op_get_buffer(XEN_GUEST_HANDLE(void) arg)
xenoprof_get_buffer.nbuf = d->xenoprof->nbuf;
xenoprof_get_buffer.bufsize = d->xenoprof->bufsize;
- if ( !shadow_mode_translate(d) )
+ if ( !paging_mode_translate(d) )
xenoprof_get_buffer.buf_gmaddr = __pa(d->xenoprof->rawbuf);
else
xenoprof_shared_gmfn_with_guest(