ia64/xen-unstable

changeset 3619:a4b03d935138

bitkeeper revision 1.1159.238.7 (4200f09cegOci_6ijw2B4UT2y9odbA)

Enforce alignment of i387 data
Signed-off-by: ian.pratt@cl.cam.ac.uk
author iap10@labyrinth.cl.cam.ac.uk
date Wed Feb 02 15:24:12 2005 +0000 (2005-02-02)
parents f3e117cf73c2
children 0ef6e8e6e85d
files xen/include/asm-x86/processor.h
line diff
     1.1 --- a/xen/include/asm-x86/processor.h	Wed Feb 02 15:22:39 2005 +0000
     1.2 +++ b/xen/include/asm-x86/processor.h	Wed Feb 02 15:24:12 2005 +0000
     1.3 @@ -16,6 +16,7 @@
     1.4  #include <asm/pdb.h>
     1.5  #include <xen/config.h>
     1.6  #include <xen/spinlock.h>
     1.7 +#include <xen/cache.h>
     1.8  #include <asm/vmx_vmcs.h>
     1.9  #include <public/xen.h>
    1.10  #endif
    1.11 @@ -412,11 +413,11 @@ struct thread_struct {
    1.12       * for segment registers %ds, %es, %fs and %gs:
    1.13       * 	%ds, %es, %fs, %gs, %eip, %cs, %eflags [, %oldesp, %oldss]
    1.14       */
    1.15 -    unsigned long event_selector;    /* 08: entry CS  */
    1.16 -    unsigned long event_address;     /* 12: entry EIP */
    1.17 +    unsigned long event_selector;    /* entry CS  */
    1.18 +    unsigned long event_address;     /* entry EIP */
    1.19  
    1.20 -    unsigned long failsafe_selector; /* 16: entry CS  */
    1.21 -    unsigned long failsafe_address;  /* 20: entry EIP */
    1.22 +    unsigned long failsafe_selector; /* entry CS  */
    1.23 +    unsigned long failsafe_address;  /* entry EIP */
    1.24  
    1.25      /* Bounce information for propagating an exception to guest OS. */
    1.26      struct trap_bounce trap_bounce;
    1.27 @@ -435,7 +436,7 @@ struct thread_struct {
    1.28  #ifdef CONFIG_VMX
    1.29      struct arch_vmx_struct arch_vmx; /* Virtual Machine Extensions */
    1.30  #endif
    1.31 -};
    1.32 +} __cacheline_aligned;
    1.33  
    1.34  #define IDT_ENTRIES 256
    1.35  extern idt_entry_t idt_table[];