aboutsummaryrefslogtreecommitdiffstats
path: root/xen/include/asm-x86/shadow.h
diff options
context:
space:
mode:
authorkfraser@localhost.localdomain <kfraser@localhost.localdomain>2006-11-27 17:48:24 +0000
committerkfraser@localhost.localdomain <kfraser@localhost.localdomain>2006-11-27 17:48:24 +0000
commit63e2f0bd68a7b2be82551c8640dde5f516b4dbb8 (patch)
tree9592a37cf2e04c1a3bcdd2219e205ca359106d88 /xen/include/asm-x86/shadow.h
parent7a914ac673cf5dbd56c501297fd6fab73ecd8581 (diff)
downloadxen-63e2f0bd68a7b2be82551c8640dde5f516b4dbb8.tar.gz
xen-63e2f0bd68a7b2be82551c8640dde5f516b4dbb8.tar.bz2
xen-63e2f0bd68a7b2be82551c8640dde5f516b4dbb8.zip
[XEN] Remove VALID_MFN(); replace uses with mfn_valid().
Signed-off-by: Keir Fraser <keir@xensource.com>
Diffstat (limited to 'xen/include/asm-x86/shadow.h')
-rw-r--r--xen/include/asm-x86/shadow.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/xen/include/asm-x86/shadow.h b/xen/include/asm-x86/shadow.h
index 0d8b58e6d9..4b2c3b41f0 100644
--- a/xen/include/asm-x86/shadow.h
+++ b/xen/include/asm-x86/shadow.h
@@ -218,7 +218,7 @@ TYPE_SAFE(unsigned long,mfn)
static inline int
valid_mfn(mfn_t m)
{
- return VALID_MFN(mfn_x(m));
+ return mfn_valid(mfn_x(m));
}
static inline mfn_t
@@ -665,7 +665,7 @@ static inline int
mmio_space(paddr_t gpa)
{
unsigned long gfn = gpa >> PAGE_SHIFT;
- return !VALID_MFN(mfn_x(sh_gfn_to_mfn_current(gfn)));
+ return !mfn_valid(mfn_x(sh_gfn_to_mfn_current(gfn)));
}
static inline l1_pgentry_t