aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/cpumask.h
diff options
context:
space:
mode:
authorDavid S. Miller <davem@davemloft.net>2014-06-02 00:58:02 -0400
committerDavid S. Miller <davem@davemloft.net>2014-06-02 00:58:02 -0400
commitee39facbf82e73e468c504d2b40e83e2d223c28c (patch)
tree802451ae11344f94f66a8b922a5418095707517e /include/linux/cpumask.h
parent2a82e40d6b66373498bf937e31b249f17dc1105a (diff)
net: Revert mlx4 cpumask changes.
This reverts commit 70a640d0dae3a9b1b222ce673eb5d92c263ddd61 ("net/mlx4_en: Use affinity hint") and commit c8865b64b05b2f4eeefd369373e9c8aeb069e7a1 ("cpumask: Utility function to set n'th cpu - local cpu first") because these changes break the build when SMP is disabled amongst other things. Reported-by: Eric Dumazet <eric.dumazet@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/linux/cpumask.h')
-rw-r--r--include/linux/cpumask.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/include/linux/cpumask.h b/include/linux/cpumask.h
index 3551d667ef9f..d08e4d2a9b92 100644
--- a/include/linux/cpumask.h
+++ b/include/linux/cpumask.h
@@ -257,8 +257,6 @@ static inline void cpumask_set_cpu(unsigned int cpu, struct cpumask *dstp)
257 set_bit(cpumask_check(cpu), cpumask_bits(dstp)); 257 set_bit(cpumask_check(cpu), cpumask_bits(dstp));
258} 258}
259 259
260int cpumask_set_cpu_local_first(int i, int numa_node, cpumask_t *dstp);
261
262/** 260/**
263 * cpumask_clear_cpu - clear a cpu in a cpumask 261 * cpumask_clear_cpu - clear a cpu in a cpumask
264 * @cpu: cpu number (< nr_cpu_ids) 262 * @cpu: cpu number (< nr_cpu_ids)