浏览代码

lguest: fix mis-merge against hpa's TSS renaming

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>
Rusty Russell 17 年之前
父节点
当前提交
e95035c61a
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      drivers/lguest/x86/core.c

+ 1 - 1
drivers/lguest/x86/core.c

@@ -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
 	/* 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
 	 * for traps which do directly into the Guest (ie. traps at privilege
 	 * level 1). */
 	 * level 1). */
-	pages->state.guest_tss.esp1 = cpu->esp1;
+	pages->state.guest_tss.sp1 = cpu->esp1;
 	pages->state.guest_tss.ss1 = cpu->ss1;
 	pages->state.guest_tss.ss1 = cpu->ss1;
 
 
 	/* Copy direct-to-Guest trap entries. */
 	/* Copy direct-to-Guest trap entries. */