ia64/xen-unstable

changeset 11743:6fae3a36f50b

[IA64] added __read_mostly to some variables

Signed-off-by: Isaku Yamahata <yamahata@valinux.co.jp>
author awilliam@xenbuild.aw
date Sun Oct 08 18:30:31 2006 -0600 (2006-10-08)
parents 61504e80defa
children 4eb6e2ec1b39
files xen/arch/ia64/xen/xenmem.c xen/arch/ia64/xen/xensetup.c xen/arch/ia64/xen/xentime.c
line diff
     1.1 --- a/xen/arch/ia64/xen/xenmem.c	Sun Oct 08 18:27:54 2006 -0600
     1.2 +++ b/xen/arch/ia64/xen/xenmem.c	Sun Oct 08 18:30:31 2006 -0600
     1.3 @@ -38,13 +38,13 @@ boolean_param("contig_mem", opt_contig_m
     1.4  #define opt_contig_mem 1
     1.5  #endif
     1.6  
     1.7 -struct page_info *frame_table;
     1.8 +struct page_info *frame_table __read_mostly;
     1.9  unsigned long max_page;
    1.10  
    1.11  /*
    1.12   * Set up the page tables.
    1.13   */
    1.14 -volatile unsigned long *mpt_table;
    1.15 +volatile unsigned long *mpt_table __read_mostly;
    1.16  
    1.17  void
    1.18  paging_init (void)
     2.1 --- a/xen/arch/ia64/xen/xensetup.c	Sun Oct 08 18:27:54 2006 -0600
     2.2 +++ b/xen/arch/ia64/xen/xensetup.c	Sun Oct 08 18:30:31 2006 -0600
     2.3 @@ -82,7 +82,7 @@ unsigned int opt_xenheap_megabytes = XEN
     2.4  unsigned long xenheap_size = XENHEAP_DEFAULT_SIZE;
     2.5  extern long running_on_sim;
     2.6  unsigned long xen_pstart;
     2.7 -void *xen_heap_start;
     2.8 +void *xen_heap_start __read_mostly;
     2.9  
    2.10  static int
    2.11  xen_count_pages(u64 start, u64 end, void *arg)
     3.1 --- a/xen/arch/ia64/xen/xentime.c	Sun Oct 08 18:27:54 2006 -0600
     3.2 +++ b/xen/arch/ia64/xen/xentime.c	Sun Oct 08 18:30:31 2006 -0600
     3.3 @@ -39,7 +39,7 @@ seqlock_t xtime_lock __cacheline_aligned
     3.4  #define TIME_KEEPER_ID  0
     3.5  unsigned long domain0_ready = 0;
     3.6  static s_time_t        stime_irq = 0x0;       /* System time at last 'time update' */
     3.7 -unsigned long itc_scale, ns_scale;
     3.8 +unsigned long itc_scale __read_mostly, ns_scale __read_mostly;
     3.9  unsigned long itc_at_irq;
    3.10  
    3.11  /* We don't expect an absolute cycle value here, since then no way