aboutsummaryrefslogtreecommitdiffstats
path: root/xen/include/asm-x86/shadow.h
diff options
context:
space:
mode:
authorkfraser@localhost.localdomain <kfraser@localhost.localdomain>2007-04-26 18:33:34 +0100
committerkfraser@localhost.localdomain <kfraser@localhost.localdomain>2007-04-26 18:33:34 +0100
commit83832f9dc09832ceee0d2bf3ac651361bcc03d27 (patch)
treed15d435a5f45f660daa93bb835977e1b81dd1340 /xen/include/asm-x86/shadow.h
parent6fb84d0fce9129e6ecaa6dc909f3bf0d219bc08f (diff)
downloadxen-83832f9dc09832ceee0d2bf3ac651361bcc03d27.tar.gz
xen-83832f9dc09832ceee0d2bf3ac651361bcc03d27.tar.bz2
xen-83832f9dc09832ceee0d2bf3ac651361bcc03d27.zip
hvm: Take care when checking ->is_compat flag now that HVM as well as
PV guests can assert it. 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.h10
1 files changed, 0 insertions, 10 deletions
diff --git a/xen/include/asm-x86/shadow.h b/xen/include/asm-x86/shadow.h
index e08b971e7a..741d6169d8 100644
--- a/xen/include/asm-x86/shadow.h
+++ b/xen/include/asm-x86/shadow.h
@@ -48,16 +48,6 @@
* not yet supported */
#define shadow_mode_trap_reads(_d) ({ (void)(_d); 0; })
-/*
- * 32on64 support
- */
-#ifdef __x86_64__
-#define pv_32bit_guest(_v) (!is_hvm_vcpu(_v) && IS_COMPAT((_v)->domain))
-#else
-#define pv_32bit_guest(_v) (!is_hvm_vcpu(_v))
-#endif
-
-
/*****************************************************************************
* Entry points into the shadow code */