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 16b82ad34b961ba08fab68c21076f98e79e89c88..18267a02e67ae442535e5d19d0e8c100b2b469cc 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 c0305bff0f19349316ef4d61efa85f4a5e38f7a2..d9dc209c24ad22b3e81b4a3d287f13879e4861cf 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;