aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/lguest/interrupts_and_traps.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/lguest/interrupts_and_traps.c')
-rw-r--r--drivers/lguest/interrupts_and_traps.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/lguest/interrupts_and_traps.c b/drivers/lguest/interrupts_and_traps.c
index 6bbfce4e5987..9ac7455ec7fb 100644
--- a/drivers/lguest/interrupts_and_traps.c
+++ b/drivers/lguest/interrupts_and_traps.c
@@ -395,7 +395,7 @@ void load_guest_idt_entry(struct lg_cpu *cpu, unsigned int num, u32 lo, u32 hi)
395 395
396 /* Mark the IDT as changed: next time the Guest runs we'll know we have 396 /* Mark the IDT as changed: next time the Guest runs we'll know we have
397 * to copy this again. */ 397 * to copy this again. */
398 cpu->lg->changed |= CHANGED_IDT; 398 cpu->changed |= CHANGED_IDT;
399 399
400 /* Check that the Guest doesn't try to step outside the bounds. */ 400 /* Check that the Guest doesn't try to step outside the bounds. */
401 if (num >= ARRAY_SIZE(cpu->arch.idt)) 401 if (num >= ARRAY_SIZE(cpu->arch.idt))