aboutsummaryrefslogtreecommitdiffstats
path: root/arch/x86/mm
diff options
context:
space:
mode:
authorRusty Russell <rusty@rustcorp.com.au>2009-03-13 00:19:52 -0400
committerRusty Russell <rusty@rustcorp.com.au>2009-03-13 00:19:52 -0400
commitb9c4398ed43a7ed023e091610c23ba7412aec2a8 (patch)
tree4fe0afb8f9b9f0970870307bf7016170556ba4f5 /arch/x86/mm
parentb643decad6c80b6886a01a8c2229be6b7951ff7b (diff)
cpumask: remove x86's node_to_cpumask now everyone uses cpumask_of_node
Impact: cleanup Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Diffstat (limited to 'arch/x86/mm')
-rw-r--r--arch/x86/mm/numa_64.c26
1 files changed, 0 insertions, 26 deletions
diff --git a/arch/x86/mm/numa_64.c b/arch/x86/mm/numa_64.c
index 64c9cf043cdd..48bf396b6e79 100644
--- a/arch/x86/mm/numa_64.c
+++ b/arch/x86/mm/numa_64.c
@@ -827,32 +827,6 @@ const cpumask_t *cpumask_of_node(int node)
827EXPORT_SYMBOL(cpumask_of_node); 827EXPORT_SYMBOL(cpumask_of_node);
828 828
829/* 829/*
830 * Returns a bitmask of CPUs on Node 'node'.
831 *
832 * Side note: this function creates the returned cpumask on the stack
833 * so with a high NR_CPUS count, excessive stack space is used. The
834 * node_to_cpumask_ptr function should be used whenever possible.
835 */
836cpumask_t node_to_cpumask(int node)
837{
838 if (node_to_cpumask_map == NULL) {
839 printk(KERN_WARNING
840 "node_to_cpumask(%d): no node_to_cpumask_map!\n", node);
841 dump_stack();
842 return cpu_online_map;
843 }
844 if (node >= nr_node_ids) {
845 printk(KERN_WARNING
846 "node_to_cpumask(%d): node > nr_node_ids(%d)\n",
847 node, nr_node_ids);
848 dump_stack();
849 return cpu_mask_none;
850 }
851 return node_to_cpumask_map[node];
852}
853EXPORT_SYMBOL(node_to_cpumask);
854
855/*
856 * --------- end of debug versions of the numa functions --------- 830 * --------- end of debug versions of the numa functions ---------
857 */ 831 */
858 832