]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
lguest: fix mis-merge against hpa's TSS renaming
authorRusty Russell <rusty@rustcorp.com.au>
Thu, 31 Jan 2008 07:00:47 +0000 (18:00 +1100)
committerLinus Torvalds <torvalds@linux-foundation.org>
Thu, 31 Jan 2008 08:59:44 +0000 (19:59 +1100)
drivers/lguest/x86/core.c: In function ‘copy_in_guest_info’:
drivers/lguest/x86/core.c:97: error: ‘struct x86_hw_tss’ has no member named ‘esp1’

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/lguest/x86/core.c

index 61f2f8eb8cad7edb744559c873a854b483a3fcdc..635187812d52b11cf85ed65a3ae88ef6fabf6f7f 100644 (file)
@@ -94,7 +94,7 @@ static void copy_in_guest_info(struct lg_cpu *cpu, struct lguest_pages *pages)
        /* Set up the two "TSS" members which tell the CPU what stack to use
         * for traps which do directly into the Guest (ie. traps at privilege
         * level 1). */
-       pages->state.guest_tss.esp1 = cpu->esp1;
+       pages->state.guest_tss.sp1 = cpu->esp1;
        pages->state.guest_tss.ss1 = cpu->ss1;
 
        /* Copy direct-to-Guest trap entries. */