Skip to content

Commit

Permalink
arch/x86/mm/numa_64.c: section fix
Browse files Browse the repository at this point in the history
WARNING: vmlinux.o(__ksymtab+0x670): Section mismatch: reference to .init.data:x86_cpu_to_node_map_init (between '__ksymtab_x86_cpu_to_node_map_init' and '__ksymtab_node_data')

Cc: Matthew Dobson <colpatch@us.ibm.com>
Cc: Mike Travis <travis@sgi.com>
Cc: Christoph Lameter <clameter@sgi.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
  • Loading branch information
Andrew Morton authored and Ingo Molnar committed Jan 30, 2008
1 parent 693e3c5 commit 118c890
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion arch/x86/mm/numa_64.c
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ bootmem_data_t plat_node_bdata[MAX_NUMNODES];

struct memnode memnode;

u16 x86_cpu_to_node_map_init[NR_CPUS] __initdata = {
u16 x86_cpu_to_node_map_init[NR_CPUS] = {
[0 ... NR_CPUS-1] = NUMA_NO_NODE
};
void *x86_cpu_to_node_map_early_ptr;
Expand Down
2 changes: 1 addition & 1 deletion include/asm-x86/topology.h
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@

/* Mappings between logical cpu number and node number */
DECLARE_PER_CPU(u16, x86_cpu_to_node_map);
extern u16 __initdata x86_cpu_to_node_map_init[];
extern u16 x86_cpu_to_node_map_init[];
extern void *x86_cpu_to_node_map_early_ptr;
extern cpumask_t node_to_cpumask_map[];

Expand Down

0 comments on commit 118c890

Please sign in to comment.