diff options
author | Yinghai Lu <Yinghai.Lu@Sun.COM> | 2008-02-17 02:02:03 -0500 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2008-04-17 11:40:47 -0400 |
commit | 04adf11435a5187383c35017a94b55701984243b (patch) | |
tree | 9e6dfeb018031157e537c67d0ad74e67f8cdb7e5 | |
parent | beafe91f1c2c49713221ca2616755e1f3d472084 (diff) |
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>
-rw-r--r-- | arch/x86/mm/numa_64.c | 2 | ||||
-rw-r--r-- | include/asm-x86/pda.h | 1 |
2 files changed, 0 insertions, 3 deletions
diff --git a/arch/x86/mm/numa_64.c b/arch/x86/mm/numa_64.c index 16b82ad34b96..18267a02e67a 100644 --- a/arch/x86/mm/numa_64.c +++ b/arch/x86/mm/numa_64.c | |||
@@ -548,8 +548,6 @@ void __cpuinit numa_set_node(int cpu, int node) | |||
548 | { | 548 | { |
549 | int *cpu_to_node_map = x86_cpu_to_node_map_early_ptr; | 549 | int *cpu_to_node_map = x86_cpu_to_node_map_early_ptr; |
550 | 550 | ||
551 | cpu_pda(cpu)->nodenumber = node; | ||
552 | |||
553 | if(cpu_to_node_map) | 551 | if(cpu_to_node_map) |
554 | cpu_to_node_map[cpu] = node; | 552 | cpu_to_node_map[cpu] = node; |
555 | else if(per_cpu_offset(cpu)) | 553 | else if(per_cpu_offset(cpu)) |
diff --git a/include/asm-x86/pda.h b/include/asm-x86/pda.h index c0305bff0f19..d9dc209c24ad 100644 --- a/include/asm-x86/pda.h +++ b/include/asm-x86/pda.h | |||
@@ -22,7 +22,6 @@ struct x8664_pda { | |||
22 | offset 40!!! */ | 22 | offset 40!!! */ |
23 | #endif | 23 | #endif |
24 | char *irqstackptr; | 24 | char *irqstackptr; |
25 | unsigned int nodenumber; /* number of current node */ | ||
26 | unsigned int __softirq_pending; | 25 | unsigned int __softirq_pending; |
27 | unsigned int __nmi_count; /* number of NMI on this CPUs */ | 26 | unsigned int __nmi_count; /* number of NMI on this CPUs */ |
28 | short mmu_state; | 27 | short mmu_state; |