ia64/xen-unstable

changeset 11742:61504e80defa

[IA64] __read_mostly

Signed-off-by: Isaku Yamahata <yamahata@valinux.co.jp>
author awilliam@xenbuild.aw
date Sun Oct 08 18:27:54 2006 -0600 (2006-10-08)
parents e9c7f965e70a
children 6fae3a36f50b
files xen/arch/ia64/xen/xen.lds.S xen/include/asm-ia64/linux-xen/asm/cache.h
line diff
     1.1 --- a/xen/arch/ia64/xen/xen.lds.S	Sun Oct 08 18:21:32 2006 -0600
     1.2 +++ b/xen/arch/ia64/xen/xen.lds.S	Sun Oct 08 18:27:54 2006 -0600
     1.3 @@ -173,6 +173,9 @@ SECTIONS
     1.4    				 * kernel data
     1.5  				 */
     1.6  
     1.7 +  .data.read_mostly : AT(ADDR(.data.read_mostly) - LOAD_OFFSET)
     1.8 +        { *(.data.read_mostly) }
     1.9 +
    1.10    .data.cacheline_aligned : AT(ADDR(.data.cacheline_aligned) - LOAD_OFFSET)
    1.11          { *(.data.cacheline_aligned) }
    1.12  
     2.1 --- a/xen/include/asm-ia64/linux-xen/asm/cache.h	Sun Oct 08 18:21:32 2006 -0600
     2.2 +++ b/xen/include/asm-ia64/linux-xen/asm/cache.h	Sun Oct 08 18:27:54 2006 -0600
     2.3 @@ -32,6 +32,6 @@
     2.4  #endif
     2.5  #endif
     2.6  
     2.7 -#define __read_mostly
     2.8 +#define __read_mostly __attribute__((__section__(".data.read_mostly")))
     2.9  
    2.10  #endif /* _ASM_IA64_CACHE_H */