* [PATCH 05/08] percpu -v2 vmlinux.lds.h percpu_offset macro
@ 2006-04-15 3:10 Steven Rostedt
0 siblings, 0 replies; only message in thread
From: Steven Rostedt @ 2006-04-15 3:10 UTC (permalink / raw)
To: LKML
Added macro PERCPU_OFFSET to be inserted in the architectures.
Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
Index: linux-2.6.17-rc1/include/asm-generic/vmlinux.lds.h
===================================================================
--- linux-2.6.17-rc1.orig/include/asm-generic/vmlinux.lds.h 2006-04-13 20:41:54.000000000 -0400
+++ linux-2.6.17-rc1/include/asm-generic/vmlinux.lds.h 2006-04-14 18:50:07.000000000 -0400
@@ -166,3 +166,11 @@
.stab.index 0 : { *(.stab.index) } \
.stab.indexstr 0 : { *(.stab.indexstr) } \
.comment 0 : { *(.comment) }
+
+ /* Per CPU offsets */
+#define PERCPU_OFFSET \
+ __per_cpu_offset_start = .; \
+ .data.percpu_offset : AT(ADDR(.data.percpu_offset) - LOAD_OFFSET) { \
+ *(.data.percpu_offset) \
+ } \
+ __per_cpu_offset_end = .;
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2006-04-15 3:11 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-04-15 3:10 [PATCH 05/08] percpu -v2 vmlinux.lds.h percpu_offset macro Steven Rostedt
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®