ia64/xen-unstable

changeset 14946:c7b1a866914c

hvm vmx: Mark bootstrap-initialised variables as read-mostly.
Signed-off-by: Keir Fraser <keir@xensource.com>
author Keir Fraser <keir@xensource.com>
date Wed Apr 25 22:56:09 2007 +0100 (2007-04-25)
parents bdde5daf056e
children 7d182aaa014b
files xen/arch/x86/hvm/vmx/vmcs.c
line diff
     1.1 --- a/xen/arch/x86/hvm/vmx/vmcs.c	Wed Apr 25 22:29:39 2007 +0100
     1.2 +++ b/xen/arch/x86/hvm/vmx/vmcs.c	Wed Apr 25 22:56:09 2007 +0100
     1.3 @@ -38,12 +38,12 @@
     1.4  #include <asm/shadow.h>
     1.5  
     1.6  /* Dynamic (run-time adjusted) execution control flags. */
     1.7 -u32 vmx_pin_based_exec_control;
     1.8 -u32 vmx_cpu_based_exec_control;
     1.9 -u32 vmx_vmexit_control;
    1.10 -u32 vmx_vmentry_control;
    1.11 +u32 vmx_pin_based_exec_control __read_mostly;
    1.12 +u32 vmx_cpu_based_exec_control __read_mostly;
    1.13 +u32 vmx_vmexit_control __read_mostly;
    1.14 +u32 vmx_vmentry_control __read_mostly;
    1.15  
    1.16 -static u32 vmcs_revision_id;
    1.17 +static u32 vmcs_revision_id __read_mostly;
    1.18  
    1.19  static u32 adjust_vmx_controls(u32 ctl_min, u32 ctl_opt, u32 msr)
    1.20  {