ia64/xen-unstable

changeset 18637:8c3144b1ff63

x86: Fix non-debug build.
Signed-off-by: Keir Fraser <keir.fraser@citrix.com>
author Keir Fraser <keir.fraser@citrix.com>
date Wed Oct 15 08:22:42 2008 +0100 (2008-10-15)
parents 9b227eb09263
children 61218a1763da
files xen/arch/x86/hvm/viridian.c
line diff
     1.1 --- a/xen/arch/x86/hvm/viridian.c	Tue Oct 14 19:19:48 2008 +0100
     1.2 +++ b/xen/arch/x86/hvm/viridian.c	Wed Oct 15 08:22:42 2008 +0100
     1.3 @@ -244,7 +244,6 @@ int rdmsr_viridian_regs(uint32_t idx, ui
     1.4  
     1.5  int viridian_hypercall(struct cpu_user_regs *regs)
     1.6  {
     1.7 -    struct domain *d = current->domain;
     1.8      int mode = hvm_guest_x86_mode(current);
     1.9      unsigned long input_params_gpa, output_params_gpa;
    1.10      uint16_t status = HV_STATUS_SUCCESS;
    1.11 @@ -271,7 +270,7 @@ int viridian_hypercall(struct cpu_user_r
    1.12          };
    1.13      } output = { 0 };
    1.14  
    1.15 -    ASSERT(is_viridian_domain(d));
    1.16 +    ASSERT(is_viridian_domain(current->domain));
    1.17  
    1.18      switch ( mode )
    1.19      {