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

[Xen-changelog] [xen-unstable] x86: Fix the build after c/s 18163 (5fbcbee355e2)



# HG changeset patch
# User Keir Fraser <keir.fraser@xxxxxxxxxx>
# Date 1217406042 -3600
# Node ID b613bf4c42891b3a795aaf9f1f7ca543debd8189
# Parent  6cd615adaac7024065fb133e66fff05e588d5eca
x86: Fix the build after c/s 18163 (5fbcbee355e2)

Signed-off-by: Liu, Jinsong <jinsong.liu@xxxxxxxxx>
Signed-off-by: Masaki Kanno <kanno.masaki@xxxxxxxxxxxxxx>
Signed-off-by: Keir Fraser <keir.fraser@xxxxxxxxxx>
---
 xen/arch/x86/mm/shadow/multi.c |    4 +---
 1 files changed, 1 insertion(+), 3 deletions(-)

diff -r 6cd615adaac7 -r b613bf4c4289 xen/arch/x86/mm/shadow/multi.c
--- a/xen/arch/x86/mm/shadow/multi.c    Wed Jul 30 09:18:35 2008 +0100
+++ b/xen/arch/x86/mm/shadow/multi.c    Wed Jul 30 09:20:42 2008 +0100
@@ -4645,7 +4645,6 @@ static void *emulate_map_dest(struct vcp
                               u32 bytes,
                               struct sh_emulate_ctxt *sh_ctxt)
 {
-    struct segment_register *sreg;
     unsigned long offset;
     void *map = NULL;
 
@@ -4658,8 +4657,7 @@ static void *emulate_map_dest(struct vcp
 
 #ifndef NDEBUG
     /* We don't emulate user-mode writes to page tables */
-    sreg = hvm_get_seg_reg(x86_seg_ss, sh_ctxt);
-    if ( sreg->attr.fields.dpl == 3 )
+    if ( hvm_get_seg_reg(x86_seg_ss, sh_ctxt)->attr.fields.dpl == 3 )
     {
         gdprintk(XENLOG_DEBUG, "User-mode write to pagetable reached "
                  "emulate_map_dest(). This should never happen!\n");

_______________________________________________
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®.