diff options
author | Mike Travis <travis@sgi.com> | 2008-01-30 07:33:14 -0500 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2008-01-30 07:33:14 -0500 |
commit | 693e3c560317577a29c625d89f6745d5c7cfd918 (patch) | |
tree | 2f8420f929e8cdb8167a57104b7938658cdd3a8f /include/asm-x86 | |
parent | 4dbf7af6442a9a882855bed0d999659ac413e3ac (diff) |
x86: reduce memory and intra-node effects
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Diffstat (limited to 'include/asm-x86')
-rw-r--r-- | include/asm-x86/topology.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/asm-x86/topology.h b/include/asm-x86/topology.h index e612ed8d2bc7..a89b46eb2526 100644 --- a/include/asm-x86/topology.h +++ b/include/asm-x86/topology.h | |||
@@ -40,7 +40,7 @@ extern cpumask_t node_to_cpumask_map[]; | |||
40 | /* Returns the number of the node containing CPU 'cpu' */ | 40 | /* Returns the number of the node containing CPU 'cpu' */ |
41 | static inline int cpu_to_node(int cpu) | 41 | static inline int cpu_to_node(int cpu) |
42 | { | 42 | { |
43 | u16 *cpu_to_node_map = (u16 *)x86_cpu_to_node_map_early_ptr; | 43 | u16 *cpu_to_node_map = x86_cpu_to_node_map_early_ptr; |
44 | 44 | ||
45 | if (cpu_to_node_map) | 45 | if (cpu_to_node_map) |
46 | return cpu_to_node_map[cpu]; | 46 | return cpu_to_node_map[cpu]; |