diff options
author | Keir Fraser <keir.fraser@citrix.com> | 2009-03-03 13:17:05 +0000 |
---|---|---|
committer | Keir Fraser <keir.fraser@citrix.com> | 2009-03-03 13:17:05 +0000 |
commit | b47276c18fabaf6f0dbb855d3b1d2063b1c73e01 (patch) | |
tree | 32c5b5d0d1cbe76493925d00d0c1b1cb31dc6ef3 /xen/include/xen/compat.h | |
parent | 6deab1ae316b5f7da431d8add34c676dfca9c4f9 (diff) | |
download | xen-b47276c18fabaf6f0dbb855d3b1d2063b1c73e01.tar.gz xen-b47276c18fabaf6f0dbb855d3b1d2063b1c73e01.tar.bz2 xen-b47276c18fabaf6f0dbb855d3b1d2063b1c73e01.zip |
x86: Fix event-channel access for 32-bit HVM guests.
Based on a patch by Joe Jin <joe.jin@oracle.com>
Signed-off-by: Keir Fraser <keir.fraser@citrix.com>
Diffstat (limited to 'xen/include/xen/compat.h')
-rw-r--r-- | xen/include/xen/compat.h | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/xen/include/xen/compat.h b/xen/include/xen/compat.h index 86395d134e..63edd3e660 100644 --- a/xen/include/xen/compat.h +++ b/xen/include/xen/compat.h @@ -178,15 +178,10 @@ void xlat_vcpu_runstate_info(struct vcpu_runstate_info *); int switch_compat(struct domain *); int switch_native(struct domain *); -#define BITS_PER_GUEST_LONG(d) \ - (!IS_COMPAT(d) ? BITS_PER_LONG : COMPAT_BITS_PER_LONG) - #else #define compat_handle_is_null(hnd) 0 -#define BITS_PER_GUEST_LONG(d) BITS_PER_LONG - #endif #endif /* __XEN_COMPAT_H__ */ |