Re: [PATCH] x86: use the same node_distance for 32 and 64-bit

From: Ingo Molnar
Date: Mon Dec 05 2011 - 07:46:40 EST



* David Rientjes <rientjes@xxxxxxxxxx> wrote:

> On Mon, 19 Sep 2011, David Rientjes wrote:
>
> > On Mon, 19 Sep 2011, H Hartley Sweeten wrote:
> >
> > > The node_distance function is not x86 64-bit specific. Having the #ifdef
> > > around the extern function declaration and the #define causes the default
> > > node_distance macro to be used in asm-generic/topology.h. This also causes
> > > a sparse warning in arch/x86/mm/numa.c when CONFIG_X86_64 is not set:
> > >
> > > warning: symbol '__node_distance' was not declared. Should it be static?
> > >
> > > Remove the #ifdef to fix both issues.
> > >
> > > Signed-off-by: H Hartley Sweeten <hsweeten@xxxxxxxxxxxxxxxxxxx>
> > > Cc: Thomas Gleixner <tglx@xxxxxxxxxxxxx>
> > > Cc: Ingo Molnar <mingo@xxxxxxxxxx>
> > > Cc: "H. Peter Anvin" <hpa@xxxxxxxxx>
> > > Cc: Tejun Heo <tj@xxxxxxxxxx>
> > > Cc: Yinghai Lu <yinghai@xxxxxxxxxx>
> >
> > [ I think kernel.org emails are still down, so I sent this to
> > htejun@xxxxxxxxx instead. ]
> >
> > Acked-by: David Rientjes <rientjes@xxxxxxxxxx>
> >
>
> Ingo, Peter, I don't think this was merged into any x86 tree
> yet (and I gave up trying to figure it out, cloning from
> tesla.tglx.de was going about 2kB/sec).
>
> It was also acked by Tejun Heo <tj@xxxxxxxxxx> during review.

No objections, could someone please resend it with all acks in
place, and with maintainers Cc:-ed? I don't have the original
mail in any of my folders.

Thanks,

Ingo
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/