|
|
|
|
|
|
|
|
|
|
xen-changelog
[Xen-changelog] [xen-unstable] [IA64] __read_mostly
# HG changeset patch
# User awilliam@xxxxxxxxxxx
# Node ID 61504e80defa505aa294fa76f7665ec7fc433ffb
# Parent e9c7f965e70a87b23d955f973a61b7f269cfcbf2
[IA64] __read_mostly
Signed-off-by: Isaku Yamahata <yamahata@xxxxxxxxxxxxx>
---
xen/arch/ia64/xen/xen.lds.S | 3 +++
xen/include/asm-ia64/linux-xen/asm/cache.h | 2 +-
2 files changed, 4 insertions(+), 1 deletion(-)
diff -r e9c7f965e70a -r 61504e80defa xen/arch/ia64/xen/xen.lds.S
--- a/xen/arch/ia64/xen/xen.lds.S Sun Oct 08 18:21:32 2006 -0600
+++ b/xen/arch/ia64/xen/xen.lds.S Sun Oct 08 18:27:54 2006 -0600
@@ -172,6 +172,9 @@ SECTIONS
. = ALIGN(PAGE_SIZE); /* make sure the gate page doesn't
expose
* kernel data
*/
+
+ .data.read_mostly : AT(ADDR(.data.read_mostly) - LOAD_OFFSET)
+ { *(.data.read_mostly) }
.data.cacheline_aligned : AT(ADDR(.data.cacheline_aligned) - LOAD_OFFSET)
{ *(.data.cacheline_aligned) }
diff -r e9c7f965e70a -r 61504e80defa xen/include/asm-ia64/linux-xen/asm/cache.h
--- a/xen/include/asm-ia64/linux-xen/asm/cache.h Sun Oct 08 18:21:32
2006 -0600
+++ b/xen/include/asm-ia64/linux-xen/asm/cache.h Sun Oct 08 18:27:54
2006 -0600
@@ -32,6 +32,6 @@
#endif
#endif
-#define __read_mostly
+#define __read_mostly __attribute__((__section__(".data.read_mostly")))
#endif /* _ASM_IA64_CACHE_H */
_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog
|
<Prev in Thread] |
Current Thread |
[Next in Thread> |
- [Xen-changelog] [xen-unstable] [IA64] __read_mostly,
Xen patchbot-unstable <=
|
|
|
|
|