Re: [Patch:001/004]Unify pxm_to_node id ver.3.(generic code)

2006-03-28 Thread Yasunori Goto
> Yasunori Goto <[EMAIL PROTECTED]> wrote: > > > > +/* Proximity bitmap length */ > > +#ifdef CONFIG_NR_NODES_CHANGABLE > > +#define MAX_PXM_DOMAINS CONFIG_NR_NODES > > +#else > > +#define MAX_PXM_DOMAINS (256) > > +#endif > > I don't think we need CONFIG_NR_NODES_CHANGABLE (it is spelled > "

Re: [Patch:001/004]Unify pxm_to_node id ver.3.(generic code)

2006-03-28 Thread Andrew Morton
Yasunori Goto <[EMAIL PROTECTED]> wrote: > > +/* Proximity bitmap length */ > +#ifdef CONFIG_NR_NODES_CHANGABLE > +#define MAX_PXM_DOMAINS CONFIG_NR_NODES > +#else > +#define MAX_PXM_DOMAINS (256) > +#endif I don't think we need CONFIG_NR_NODES_CHANGABLE (it is spelled "changeable", btw). If

[Patch:001/004]Unify pxm_to_node id ver.3.(generic code)

2006-03-28 Thread Yasunori Goto
This is new generic code for pxm_to_node_map and CONFIG_NR_NODES. Signed-off-by: Yasunori Goto <[EMAIL PROTECTED]> drivers/acpi/numa.c | 48 +++ include/acpi/acpi_numa.h | 23 ++ include/linux/acpi.h |1 mm/Kconfig