[ewg] [PULL][OFED 3.18] 7.1 compat patches for OFED BZ 2531

Marciniszyn, Mike mike.marciniszyn at intel.com
Wed Apr 15 08:56:26 PDT 2015


> On 15/04/15 16:12, Marciniszyn, Mike wrote:
> > Please pull from these fixes from ~mmarciniszyn/scm/new_ofed/compat from
> the for-ofed-3.18 branch:
> >
> > commit 52df7d8c70400e3eefb946f99a4886719e15552e
> > Author: Mike Marciniszyn <mike.marciniszyn at intel.com>
> > Date:   Wed Apr 15 08:54:34 2015 -0400
> >
> >      compat: detect cpumask_set_cpu_local_first
> >
> >      RHEL 7.1 exports cpumask_set_cpu_local_first.  compat's
> >      autoconf needs to detect and avoid the duplicate
> >      symbol.
> >
> >      This addresses OFED BZ 2531.
> >
> >      Signed-off-by: Mike Marciniszyn <mike.marciniszyn at intel.com>
> >
> 
> Hi Mike,
> I pushed another fix for this issue already:

> +#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)
>   {
Won't this avoid using the base kernel routine in all cases?

It would seem to me that using the base kernel version is the best approach...

Mike



More information about the ewg mailing list