diff options
author | Glauber de Oliveira Costa <gcosta@redhat.com> | 2008-01-17 22:14:46 +0100 |
---|---|---|
committer | Rusty Russell <rusty@rustcorp.com.au> | 2008-01-30 12:50:17 +0100 |
commit | ae3749dcd8c31dcfbab14ea28c68a944c93f418f (patch) | |
tree | bdbbe9207bb7c50e9aeb7afc5b5653b79501c03f /drivers/lguest/interrupts_and_traps.c | |
parent | lguest: move last_pages to lg_cpu (diff) | |
download | linux-ae3749dcd8c31dcfbab14ea28c68a944c93f418f.tar.xz linux-ae3749dcd8c31dcfbab14ea28c68a944c93f418f.zip |
lguest: move changed bitmap to lg_cpu
events represented in the 'changed' bitmap are per-cpu, not per-guest.
move it to the lg_cpu structure
Signed-off-by: Glauber de Oliveira Costa <gcosta@redhat.com>
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Diffstat (limited to 'drivers/lguest/interrupts_and_traps.c')
-rw-r--r-- | drivers/lguest/interrupts_and_traps.c | 2 |
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) /* Mark the IDT as changed: next time the Guest runs we'll know we have * to copy this again. */ - cpu->lg->changed |= CHANGED_IDT; + cpu->changed |= CHANGED_IDT; /* Check that the Guest doesn't try to step outside the bounds. */ if (num >= ARRAY_SIZE(cpu->arch.idt)) |