diff options
author | H. Peter Anvin <hpa@zytor.com> | 2010-10-21 03:15:00 -0400 |
---|---|---|
committer | H. Peter Anvin <hpa@zytor.com> | 2010-10-21 03:15:00 -0400 |
commit | 2aeb66d3036dbafc297ac553a257a40283dadb3e (patch) | |
tree | 96fdd6a5041642c1a5028758bb35a891936e9837 /include/asm-generic/vmlinux.lds.h | |
parent | 66f2b061546974b96b7b238a92ce89a87ecf0754 (diff) |
x86-32, percpu: Correct the ordering of the percpu readmostly section
Checkin c957ef2c59e952803766ddc22e89981ab534606f had inconsistent
ordering of .data..percpu..page_aligned and .data..percpu..readmostly;
the still-broken version affected x86-32 at least.
The page aligned version really must be page aligned...
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
LKML-Reference: <1287544022.4571.7.camel@sli10-conroe.sh.intel.com>
Cc: Shaohua Li <shaohua.li@intel.com>
Cc: Eric Dumazet <eric.dumazet@gmail.com>
Diffstat (limited to 'include/asm-generic/vmlinux.lds.h')
-rw-r--r-- | include/asm-generic/vmlinux.lds.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/asm-generic/vmlinux.lds.h b/include/asm-generic/vmlinux.lds.h index d7e7b21511b1..1457b81357af 100644 --- a/include/asm-generic/vmlinux.lds.h +++ b/include/asm-generic/vmlinux.lds.h | |||
@@ -706,8 +706,8 @@ | |||
706 | VMLINUX_SYMBOL(__per_cpu_start) = .; \ | 706 | VMLINUX_SYMBOL(__per_cpu_start) = .; \ |
707 | *(.data..percpu..first) \ | 707 | *(.data..percpu..first) \ |
708 | . = ALIGN(PAGE_SIZE); \ | 708 | . = ALIGN(PAGE_SIZE); \ |
709 | *(.data..percpu..readmostly) \ | ||
710 | *(.data..percpu..page_aligned) \ | 709 | *(.data..percpu..page_aligned) \ |
710 | *(.data..percpu..readmostly) \ | ||
711 | *(.data..percpu) \ | 711 | *(.data..percpu) \ |
712 | *(.data..percpu..shared_aligned) \ | 712 | *(.data..percpu..shared_aligned) \ |
713 | VMLINUX_SYMBOL(__per_cpu_end) = .; \ | 713 | VMLINUX_SYMBOL(__per_cpu_end) = .; \ |