aboutsummaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorAndi Kleen <ak@suse.de>2006-09-26 04:52:40 -0400
committerAndi Kleen <andi@basil.nowhere.org>2006-09-26 04:52:40 -0400
commitb38337a624c4d3c2c3d9cdf27d952ca94181c6a8 (patch)
tree1e926c0f6af8df631ce726bfec98a020164cf289 /arch
parent73bb5117a448bdf0b56232ca28451fe4c534cb3a (diff)
[PATCH] Mark per cpu data initialization __initdata again
Before 2.6.16 this was changed to work around code that accessed CPUs not in the possible map. But that code should be all fixed now, so mark it __initdata again. Signed-off-by: Andi Kleen <ak@suse.de>
Diffstat (limited to 'arch')
-rw-r--r--arch/x86_64/kernel/vmlinux.lds.S8
1 files changed, 3 insertions, 5 deletions
diff --git a/arch/x86_64/kernel/vmlinux.lds.S b/arch/x86_64/kernel/vmlinux.lds.S
index 2802aa963fa3..d0564f1bcb0b 100644
--- a/arch/x86_64/kernel/vmlinux.lds.S
+++ b/arch/x86_64/kernel/vmlinux.lds.S
@@ -216,14 +216,12 @@ SECTIONS
216 __initramfs_start = .; 216 __initramfs_start = .;
217 .init.ramfs : AT(ADDR(.init.ramfs) - LOAD_OFFSET) { *(.init.ramfs) } 217 .init.ramfs : AT(ADDR(.init.ramfs) - LOAD_OFFSET) { *(.init.ramfs) }
218 __initramfs_end = .; 218 __initramfs_end = .;
219 /* temporary here to work around NR_CPUS. If you see this comment in 2.6.17+ 219 . = ALIGN(CONFIG_X86_L1_CACHE_BYTES);
220 complain */
221 . = ALIGN(4096);
222 __init_end = .;
223 . = ALIGN(CONFIG_X86_L1_CACHE_BYTES);
224 __per_cpu_start = .; 220 __per_cpu_start = .;
225 .data.percpu : AT(ADDR(.data.percpu) - LOAD_OFFSET) { *(.data.percpu) } 221 .data.percpu : AT(ADDR(.data.percpu) - LOAD_OFFSET) { *(.data.percpu) }
226 __per_cpu_end = .; 222 __per_cpu_end = .;
223 . = ALIGN(4096);
224 __init_end = .;
227 225
228 . = ALIGN(4096); 226 . = ALIGN(4096);
229 __nosave_begin = .; 227 __nosave_begin = .;