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/common/xenoprof.c | |
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/common/xenoprof.c')
-rw-r--r-- | xen/common/xenoprof.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xen/common/xenoprof.c b/xen/common/xenoprof.c index f16ac800ef..0a33613caa 100644 --- a/xen/common/xenoprof.c +++ b/xen/common/xenoprof.c @@ -208,7 +208,7 @@ static int alloc_xenoprof_struct( bufsize = sizeof(struct xenoprof_buf); i = sizeof(struct event_log); #ifdef CONFIG_COMPAT - d->xenoprof->is_compat = IS_COMPAT(is_passive ? dom0 : d); + d->xenoprof->is_compat = is_pv_32on64_domain(is_passive ? dom0 : d); if ( XENOPROF_COMPAT(d->xenoprof) ) { bufsize = sizeof(struct compat_oprof_buf); |