diff options
author | Mike Travis <travis@sgi.com> | 2008-01-30 13:33:14 +0100 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2008-01-30 13:33:14 +0100 |
commit | 693e3c560317577a29c625d89f6745d5c7cfd918 (patch) | |
tree | 2f8420f929e8cdb8167a57104b7938658cdd3a8f /include | |
parent | 4dbf7af6442a9a882855bed0d999659ac413e3ac (diff) | |
download | linux-693e3c560317577a29c625d89f6745d5c7cfd918.tar.gz linux-693e3c560317577a29c625d89f6745d5c7cfd918.tar.bz2 linux-693e3c560317577a29c625d89f6745d5c7cfd918.zip |
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')
-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[]; /* Returns the number of the node containing CPU 'cpu' */ static inline int cpu_to_node(int cpu) { - u16 *cpu_to_node_map = (u16 *)x86_cpu_to_node_map_early_ptr; + u16 *cpu_to_node_map = x86_cpu_to_node_map_early_ptr; if (cpu_to_node_map) return cpu_to_node_map[cpu]; |