aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/lguest/x86
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/lguest/x86')
-rw-r--r--drivers/lguest/x86/core.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/lguest/x86/core.c b/drivers/lguest/x86/core.c
index 5962160aff3d..66f48fcc1196 100644
--- a/drivers/lguest/x86/core.c
+++ b/drivers/lguest/x86/core.c
@@ -342,7 +342,7 @@ void lguest_arch_handle_trap(struct lg_cpu *cpu)
342 } 342 }
343 343
344 /* We didn't handle the trap, so it needs to go to the Guest. */ 344 /* We didn't handle the trap, so it needs to go to the Guest. */
345 if (!deliver_trap(lg, lg->regs->trapnum)) 345 if (!deliver_trap(cpu, lg->regs->trapnum))
346 /* If the Guest doesn't have a handler (either it hasn't 346 /* If the Guest doesn't have a handler (either it hasn't
347 * registered any yet, or it's one of the faults we don't let 347 * registered any yet, or it's one of the faults we don't let
348 * it handle), it dies with a cryptic error message. */ 348 * it handle), it dies with a cryptic error message. */