issue: http://bugs.openfabrics.org/bugzilla/show_bug.cgi?id=2531
Signed-off-by: Vladimir Sokolovsky <vlad@mellanox.com>
* Returns 0 on success, -ENOMEM for no memory, and -EAGAIN when failed to set
* the cpu bit and need to re-call the function.
*/
+#define cpumask_set_cpu_local_first LINUX_BACKPORT(cpumask_set_cpu_local_first)
int cpumask_set_cpu_local_first(int i, int numa_node, cpumask_t *dstp)
{
cpumask_var_t mask;
#include <linux/cpumask.h>
+#define cpumask_set_cpu_local_first LINUX_BACKPORT(cpumask_set_cpu_local_first)
+
#if NR_CPUS == 1
static inline int cpumask_set_cpu_local_first(int i, int numa_node, cpumask_t *dstp)
{