aboutsummaryrefslogtreecommitdiffstats
path: root/xen/arch/x86/platform_hypercall.c
diff options
context:
space:
mode:
authorKeir Fraser <keir.fraser@citrix.com>2008-07-29 13:27:29 +0100
committerKeir Fraser <keir.fraser@citrix.com>2008-07-29 13:27:29 +0100
commitb232ed1a39890be01e0f924f8166b6de572baacf (patch)
tree4783b5cb7348d4bac4abd943285f6449e23c0f34 /xen/arch/x86/platform_hypercall.c
parente8ea651a7a504a7307d22fbbb06dfcb39204cbd3 (diff)
downloadxen-b232ed1a39890be01e0f924f8166b6de572baacf.tar.gz
xen-b232ed1a39890be01e0f924f8166b6de572baacf.tar.bz2
xen-b232ed1a39890be01e0f924f8166b6de572baacf.zip
Change Px control protection corresponding to changeset 18125
xen changeset 18125(ab1d7db3facb) changed some px init logic, which has some effect to Px statistic and S3 suspend/resume logic. This patch change Px control protection corresponding to changeset 18125. Signed-off-by: Liu, Jinsong <jinsong.liu@intel.com>
Diffstat (limited to 'xen/arch/x86/platform_hypercall.c')
-rw-r--r--xen/arch/x86/platform_hypercall.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/xen/arch/x86/platform_hypercall.c b/xen/arch/x86/platform_hypercall.c
index 5a882c7057..b93dc71a23 100644
--- a/xen/arch/x86/platform_hypercall.c
+++ b/xen/arch/x86/platform_hypercall.c
@@ -415,7 +415,7 @@ ret_t do_platform_op(XEN_GUEST_HANDLE(xen_platform_op_t) u_xenpf_op)
if ( pxpt->init == ( XEN_PX_PCT | XEN_PX_PSS |
XEN_PX_PSD | XEN_PX_PPC ) )
{
- pxpt->init |= 0x80000000;
+ pxpt->init |= XEN_PX_INIT;
cpu_count++;
}
if ( cpu_count == num_online_cpus() )