Explorar el Código

x86: remove never used nodenumer in pda

Signed-off-by: Yinghai Lu <yinghai.lu@sun.com>
Cc: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Yinghai Lu hace 17 años
padre
commit
04adf11435
Se han modificado 2 ficheros con 0 adiciones y 3 borrados
  1. 0 2
      arch/x86/mm/numa_64.c
  2. 0 1
      include/asm-x86/pda.h

+ 0 - 2
arch/x86/mm/numa_64.c

@@ -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;
 
-	cpu_pda(cpu)->nodenumber = node;
-
 	if(cpu_to_node_map)
 		cpu_to_node_map[cpu] = node;
 	else if(per_cpu_offset(cpu))

+ 0 - 1
include/asm-x86/pda.h

@@ -22,7 +22,6 @@ struct x8664_pda {
 					   offset 40!!! */
 #endif
 	char *irqstackptr;
-	unsigned int nodenumber;	/* number of current node */
 	unsigned int __softirq_pending;
 	unsigned int __nmi_count;	/* number of NMI on this CPUs */
 	short mmu_state;