summaryrefslogtreecommitdiffstats
path: root/include/asm-x86/lguest.h
diff options
context:
space:
mode:
authorGlauber de Oliveira Costa <gcosta@redhat.com>2008-01-07 14:05:33 +0100
committerRusty Russell <rusty@rustcorp.com.au>2008-01-30 12:50:11 +0100
commitfc708b3e407dfd2e12ba9a6cf35bd0bffad1796d (patch)
treee9a6df9c9b8cf4077c98198c3f5d3bc6dc991c0f /include/asm-x86/lguest.h
parentlguest: make registers per-vcpu (diff)
downloadlinux-fc708b3e407dfd2e12ba9a6cf35bd0bffad1796d.tar.xz
linux-fc708b3e407dfd2e12ba9a6cf35bd0bffad1796d.zip
lguest: replace lguest_arch with lg_cpu_arch.
The fields found in lguest_arch are not really per-guest, but per-cpu (gdt, idt, etc). So this patch turns lguest_arch into lg_cpu_arch. It makes sense to have a per-guest per-arch struct, but this can be addressed later, when the need arrives. Signed-off-by: Glauber de Oliveira Costa <gcosta@redhat.com> Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Diffstat (limited to 'include/asm-x86/lguest.h')
-rw-r--r--include/asm-x86/lguest.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/asm-x86/lguest.h b/include/asm-x86/lguest.h
index ccd338460811..b9d003b8005e 100644
--- a/include/asm-x86/lguest.h
+++ b/include/asm-x86/lguest.h
@@ -56,7 +56,7 @@ struct lguest_ro_state
struct desc_struct guest_gdt[GDT_ENTRIES];
};
-struct lguest_arch
+struct lg_cpu_arch
{
/* The GDT entries copied into lguest_ro_state when running. */
struct desc_struct gdt[GDT_ENTRIES];