Commit 04adf114 authored by Yinghai Lu's avatar Yinghai Lu Committed by Ingo Molnar

x86: remove never used nodenumer in pda

Signed-off-by: default avatarYinghai Lu <yinghai.lu@sun.com>
Cc: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: default avatarIngo Molnar <mingo@elte.hu>
Signed-off-by: default avatarThomas Gleixner <tglx@linutronix.de>
parent beafe91f
...@@ -548,8 +548,6 @@ void __cpuinit numa_set_node(int cpu, int node) ...@@ -548,8 +548,6 @@ void __cpuinit numa_set_node(int cpu, int node)
{ {
int *cpu_to_node_map = x86_cpu_to_node_map_early_ptr; int *cpu_to_node_map = x86_cpu_to_node_map_early_ptr;
cpu_pda(cpu)->nodenumber = node;
if(cpu_to_node_map) if(cpu_to_node_map)
cpu_to_node_map[cpu] = node; cpu_to_node_map[cpu] = node;
else if(per_cpu_offset(cpu)) else if(per_cpu_offset(cpu))
......
...@@ -22,7 +22,6 @@ struct x8664_pda { ...@@ -22,7 +22,6 @@ struct x8664_pda {
offset 40!!! */ offset 40!!! */
#endif #endif
char *irqstackptr; char *irqstackptr;
unsigned int nodenumber; /* number of current node */
unsigned int __softirq_pending; unsigned int __softirq_pending;
unsigned int __nmi_count; /* number of NMI on this CPUs */ unsigned int __nmi_count; /* number of NMI on this CPUs */
short mmu_state; short mmu_state;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment