[PATCH 05/05] percpu i386 linker script update

From: Steven Rostedt
Date: Fri Apr 14 2006 - 17:20:14 EST


Add .data.percpu_offset section into arch/i386

Signed-off-by: Steven Rostedt <rostedt@xxxxxxxxxxx>

Index: linux-2.6.17-rc1/arch/i386/kernel/vmlinux.lds.S
===================================================================
--- linux-2.6.17-rc1.orig/arch/i386/kernel/vmlinux.lds.S 2006-04-14 15:43:49.000000000 -0400
+++ linux-2.6.17-rc1/arch/i386/kernel/vmlinux.lds.S 2006-04-14 15:58:08.000000000 -0400
@@ -62,6 +62,9 @@ SECTIONS
/* rarely changed data like cpu maps */
. = ALIGN(32);
.data.read_mostly : AT(ADDR(.data.read_mostly) - LOAD_OFFSET) { *(.data.read_mostly) }
+ __per_cpu_offset_start = .;
+ .data.percpu_offset : AT(ADDR(.data.percpu_offset) - LOAD_OFFSET) { *(.data.percpu_offset) }
+ __per_cpu_offset_end = .;
_edata = .; /* End of data section */

. = ALIGN(THREAD_SIZE); /* init_task */


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/