]> git.hungrycats.org Git - linux/commitdiff
[PATCH] srat: initdata section references
authorRandy Dunlap <rddunlap@osdl.org>
Sun, 27 Feb 2005 08:10:07 +0000 (00:10 -0800)
committerLinus Torvalds <torvalds@ppc970.osdl.org>
Sun, 27 Feb 2005 08:10:07 +0000 (00:10 -0800)
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>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
arch/x86_64/mm/srat.c

index c0622bd41617f0cfc14da335ef009f778daf112f..5d01b31472e1f325a711894d9e402183b6388700 100644 (file)
@@ -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)
 {