x86: remove never used nodenumer in pda
authorYinghai Lu <Yinghai.Lu@Sun.COM>
Sun, 17 Feb 2008 07:02:03 +0000 (23:02 -0800)
committerIngo Molnar <mingo@elte.hu>
Thu, 17 Apr 2008 15:40:47 +0000 (17:40 +0200)
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>
arch/x86/mm/numa_64.c
include/asm-x86/pda.h

index 16b82ad..18267a0 100644 (file)
@@ -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))
index c0305bf..d9dc209 100644 (file)
@@ -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;