Commit b38337a6 authored by Andi Kleen's avatar Andi Kleen Committed by Andi Kleen

[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: default avatarAndi Kleen <ak@suse.de>
parent 73bb5117
...@@ -216,14 +216,12 @@ SECTIONS ...@@ -216,14 +216,12 @@ SECTIONS
__initramfs_start = .; __initramfs_start = .;
.init.ramfs : AT(ADDR(.init.ramfs) - LOAD_OFFSET) { *(.init.ramfs) } .init.ramfs : AT(ADDR(.init.ramfs) - LOAD_OFFSET) { *(.init.ramfs) }
__initramfs_end = .; __initramfs_end = .;
/* temporary here to work around NR_CPUS. If you see this comment in 2.6.17+ . = ALIGN(CONFIG_X86_L1_CACHE_BYTES);
complain */
. = ALIGN(4096);
__init_end = .;
. = ALIGN(CONFIG_X86_L1_CACHE_BYTES);
__per_cpu_start = .; __per_cpu_start = .;
.data.percpu : AT(ADDR(.data.percpu) - LOAD_OFFSET) { *(.data.percpu) } .data.percpu : AT(ADDR(.data.percpu) - LOAD_OFFSET) { *(.data.percpu) }
__per_cpu_end = .; __per_cpu_end = .;
. = ALIGN(4096);
__init_end = .;
. = ALIGN(4096); . = ALIGN(4096);
__nosave_begin = .; __nosave_begin = .;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment