[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-changelog] [xen-unstable] x86: Fix non-debug build.



# HG changeset patch
# User Keir Fraser <keir.fraser@xxxxxxxxxx>
# Date 1224055362 -3600
# Node ID 8c3144b1ff631fd33489dbc1e7ee0e2cc3594ecd
# Parent  9b227eb0926393d535473c470fed70d7b39c4509
x86: Fix non-debug build.
Signed-off-by: Keir Fraser <keir.fraser@xxxxxxxxxx>
---
 xen/arch/x86/hvm/viridian.c |    3 +--
 1 files changed, 1 insertion(+), 2 deletions(-)

diff -r 9b227eb09263 -r 8c3144b1ff63 xen/arch/x86/hvm/viridian.c
--- a/xen/arch/x86/hvm/viridian.c       Tue Oct 14 19:19:48 2008 +0100
+++ b/xen/arch/x86/hvm/viridian.c       Wed Oct 15 08:22:42 2008 +0100
@@ -244,7 +244,6 @@ int rdmsr_viridian_regs(uint32_t idx, ui
 
 int viridian_hypercall(struct cpu_user_regs *regs)
 {
-    struct domain *d = current->domain;
     int mode = hvm_guest_x86_mode(current);
     unsigned long input_params_gpa, output_params_gpa;
     uint16_t status = HV_STATUS_SUCCESS;
@@ -271,7 +270,7 @@ int viridian_hypercall(struct cpu_user_r
         };
     } output = { 0 };
 
-    ASSERT(is_viridian_domain(d));
+    ASSERT(is_viridian_domain(current->domain));
 
     switch ( mode )
     {

_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.