mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] srat: initdata section references
@ 2005-02-27 22:46 Randy.Dunlap
  0 siblings, 0 replies; only message in thread
From: Randy.Dunlap @ 2005-02-27 22:46 UTC (permalink / raw)
  To: torvalds; +Cc: ak, lkml


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)
 {


---

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2005-02-27 23:01 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-02-27 22:46 [PATCH] srat: initdata section references Randy.Dunlap

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®