From: "Randy.Dunlap" <rddunlap@osdl.org>
To: torvalds@osdl.org
Cc: ak@suse.de, lkml <linux-kernel@vger.kernel.org>
Subject: [PATCH] srat: initdata section references
Date: Sun, 27 Feb 2005 14:46:41 -0800 [thread overview]
Message-ID: <20050227144641.7743bd4a.rddunlap@osdl.org> (raw)
srat's node_to_pxm() references pxm2node[] after init. so pxm2node[]
should not be __initdata.
Error: ./arch/x86_64/mm/srat.o .text refers to 0000000000000008 R_X86_64_32S .init.data
Error: ./arch/x86_64/mm/srat.o .text refers to 0000000000000015 R_X86_64_32S .init.data
Signed-off-by: Randy Dunlap <rddunlap@osdl.org>
diffstat:=
arch/x86_64/mm/srat.c | 2 +-
1 files changed, 1 insertion(+), 1 deletion(-)
diff -Naurp ./arch/x86_64/mm/srat.c~srat_sections ./arch/x86_64/mm/srat.c
--- ./arch/x86_64/mm/srat.c~srat_sections 2005-02-27 12:54:05.127144000 -0800
+++ ./arch/x86_64/mm/srat.c 2005-02-27 14:46:03.202841256 -0800
@@ -23,7 +23,7 @@ static struct acpi_table_slit *acpi_slit
static nodemask_t nodes_parsed __initdata;
static nodemask_t nodes_found __initdata;
static struct node nodes[MAX_NUMNODES] __initdata;
-static __u8 pxm2node[256] __initdata = { [0 ... 255] = 0xff };
+static __u8 pxm2node[256] = { [0 ... 255] = 0xff };
static __init int setup_node(int pxm)
{
---
reply other threads:[~2005-02-27 23:01 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=20050227144641.7743bd4a.rddunlap@osdl.org \
--to=rddunlap@osdl.org \
--cc=ak@suse.de \
--cc=linux-kernel@vger.kernel.org \
--cc=torvalds@osdl.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®