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

From: Rusty Russell
Date: Thu Jan 31 2008 - 02:03:28 EST


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@xxxxxxxxxxxxxxx>

diff -r bf3a09b5070a drivers/lguest/x86/core.c
--- a/drivers/lguest/x86/core.c Thu Jan 31 14:50:43 2008 +1100
+++ b/drivers/lguest/x86/core.c Thu Jan 31 17:58:44 2008 +1100
@@ -94,7 +94,7 @@ static void copy_in_guest_info(struct lg
/* 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. */
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/