Re: [PATCH] avr32: Remove unused asm/numnodes.h

From: Paul Bolle
Date: Tue Jun 26 2012 - 04:09:50 EST


Hans-Christian,

On Tue, 2012-06-26 at 09:32 +0200, Hans-Christian Egtvedt wrote:
> Around Fri 08 Jun 2012 19:00:15 +0200 or thereabout, Paul Bolle wrote:
> > This is handled with config options now.
>
> Yes, but AVR32 doesn't have those bits in arch/avr32/Kconfig,

Correct. Currently only 11 of 26 architectures set the Kconfig symbol
NODES_SHIFT. avr32 is not one of those 11.

> hence removing
> the NODES_SHIFT definition will reduce it to 0 in include/Linux/numa.h. I
> suspect it is already done...

Sure, NODES_SHIFT will be defined as 0 in numa.h for avr32, because
CONFIG_NODES_SHIFT will never be defined for avr32.

Or do you mean that some file is actually using avr32's asm/numnodes.h?
How does that work?


Paul Bolle

--
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/