linker script: add missing .data.percpu.page_aligned
authorTejun Heo <tj@kernel.org>
Sat, 17 Jan 2009 06:26:32 +0000 (15:26 +0900)
committerTejun Heo <tj@kernel.org>
Sat, 17 Jan 2009 06:26:32 +0000 (15:26 +0900)
arm, arm/mach-integrator and powerpc were missing
.data.percpu.page_aligned in their percpu output section definitions.
Add it.

Signed-off-by: Tejun Heo <tj@kernel.org>
arch/arm/kernel/vmlinux.lds.S
arch/ia64/kernel/vmlinux.lds.S
arch/powerpc/kernel/vmlinux.lds.S

index 00216071eaf72d2bf87ddccbfe4f6a95e4ce2d4f..85598f7da407e17b6db7e0105e9fa6247cb68d25 100644 (file)
@@ -65,6 +65,7 @@ SECTIONS
 #endif
                . = ALIGN(4096);
                __per_cpu_start = .;
+                       *(.data.percpu.page_aligned)
                        *(.data.percpu)
                        *(.data.percpu.shared_aligned)
                __per_cpu_end = .;
index 10a7d47e8510b47fc4ce18ef4a385718d269bb1e..f45e4e508eca401b86d372a237a4322351c8bf75 100644 (file)
@@ -219,6 +219,7 @@ SECTIONS
   .data.percpu PERCPU_ADDR : AT(__phys_per_cpu_start - LOAD_OFFSET)
        {
                __per_cpu_start = .;
+               *(.data.percpu.page_aligned)
                *(.data.percpu)
                *(.data.percpu.shared_aligned)
                __per_cpu_end = .;
index 47bf15cd2c9eb62be6d00d12f2f1e8130976ce93..04e8ecea9b40ad6d886ea58aa1f4db06e06f2526 100644 (file)
@@ -182,6 +182,7 @@ SECTIONS
        . = ALIGN(PAGE_SIZE);
        .data.percpu  : AT(ADDR(.data.percpu) - LOAD_OFFSET) {
                __per_cpu_start = .;
+               *(.data.percpu.page_aligned)
                *(.data.percpu)
                *(.data.percpu.shared_aligned)
                __per_cpu_end = .;