From: Steven Rostedt <rostedt@goodmis.org>
To: LKML <linux-kernel@vger.kernel.org>
Subject: [PATCH 05/08] percpu -v2 vmlinux.lds.h percpu_offset macro
Date: Fri, 14 Apr 2006 23:10:53 -0400 [thread overview]
Message-ID: <1145070653.27407.32.camel@localhost.localdomain> (raw)
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 = .;
reply other threads:[~2006-04-15 3:11 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1145070653.27407.32.camel@localhost.localdomain \
--to=rostedt@goodmis.org \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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®