direct-io.hg

view patches/linux-2.6.16.13/x86_64-put-note-sections-into-a-pt_note-segment-in-vmlinux.patch @ 11522:1fae74cd3963

[POWERPC][XEN] Fix infinite loop caused by hdec storm

This was the cause of the periodic hang on secondary processors that has
been holding back the submission of the SMP patch.

Signed-off-by: Amos Waterland <apw@us.ibm.com>
Signed-off-by: Hollis Blanchard <hollisb@us.ibm.com>
author Jimi Xenidis <jimix@watson.ibm.com>
date Thu Sep 14 22:06:15 2006 -0400 (2006-09-14)
parents bb8d13705aac
children 6f36370e373a
line source
1 diff --git a/arch/x86_64/kernel/vmlinux.lds.S b/arch/x86_64/kernel/vmlinux.lds.S
2 index 7c4de31..ef418b3 100644
3 --- a/arch/x86_64/kernel/vmlinux.lds.S
4 +++ b/arch/x86_64/kernel/vmlinux.lds.S
5 @@ -13,6 +13,12 @@ OUTPUT_FORMAT("elf64-x86-64", "elf64-x86
6 OUTPUT_ARCH(i386:x86-64)
7 ENTRY(phys_startup_64)
8 jiffies_64 = jiffies;
9 +PHDRS {
10 + text PT_LOAD FLAGS(5); /* R_E */
11 + data PT_LOAD FLAGS(7); /* RWE */
12 + user PT_LOAD FLAGS(7); /* RWE */
13 + note PT_NOTE FLAGS(4); /* R__ */
14 +}
15 SECTIONS
16 {
17 . = __START_KERNEL;
18 @@ -31,7 +37,7 @@ SECTIONS
19 KPROBES_TEXT
20 *(.fixup)
21 *(.gnu.warning)
22 - } = 0x9090
23 + } :text = 0x9090
24 /* out-of-line lock text */
25 .text.lock : AT(ADDR(.text.lock) - LOAD_OFFSET) { *(.text.lock) }
27 @@ -57,7 +63,7 @@ #endif
28 .data : AT(ADDR(.data) - LOAD_OFFSET) {
29 *(.data)
30 CONSTRUCTORS
31 - }
32 + } :data
34 _edata = .; /* End of data section */
36 @@ -89,7 +95,7 @@ #define VVIRT_OFFSET (VSYSCALL_ADDR - VS
37 #define VVIRT(x) (ADDR(x) - VVIRT_OFFSET)
39 . = VSYSCALL_ADDR;
40 - .vsyscall_0 : AT(VSYSCALL_PHYS_ADDR) { *(.vsyscall_0) }
41 + .vsyscall_0 : AT(VSYSCALL_PHYS_ADDR) { *(.vsyscall_0) } :user
42 __vsyscall_0 = VSYSCALL_VIRT_ADDR;
44 . = ALIGN(CONFIG_X86_L1_CACHE_BYTES);
45 @@ -132,7 +138,7 @@ #undef VVIRT
46 . = ALIGN(8192); /* init_task */
47 .data.init_task : AT(ADDR(.data.init_task) - LOAD_OFFSET) {
48 *(.data.init_task)
49 - }
50 + } :data
52 . = ALIGN(4096);
53 .data.page_aligned : AT(ADDR(.data.page_aligned) - LOAD_OFFSET) {
54 @@ -235,4 +241,6 @@ #endif
55 STABS_DEBUG
57 DWARF_DEBUG
58 +
59 + NOTES
60 }