Re: [PATCH] general config option cleanup

From: Jesse Barnes <jbarnes_at_engr.sgi.com>
Date: 2004-09-09 11:07:57
On Wednesday, September 8, 2004 6:02 pm, Ian Wienand wrote:
> On Wed, Sep 08, 2004 at 02:47:38PM -0700, Jesse Barnes wrote:
> > As threatened, here's a patch that unifies the ia64 memory init and
> > memmap codepaths by unconditionalizing the CONFIG_VIRTUAL_MEM_MAP code
> > and making CONFIG_DISCONTIGMEM required.  It also allows building with
> > CONFIG_SMP=n and/or CONFIG_NUMA=n.
>
> Two related things I noticed.  Firstly, shouldn't the ACPI_NUMA option
> be linked to NUMA (i.e. if you select one, Kconfig selects the other)?
>
> Secondly, trying to build with CONFIG_NUMA and CONFIG_ACPI_NUMA off
> gave errors like
>
> arch/ia64/mm/built-in.o(.init.text+0x3c0): In function `early_nr_cpus_node':
> : undefined reference to `node_cpuid'
>
> arch/ia64/mm/built-in.o(.init.text+0xf71): In function 
`call_pernode_memory':
> : undefined reference to `num_node_memblks'
>
> How about moving the definions in question either outside of #ifdef
> CONFIG_ACPI_NUMA in apci.c or adding them to discontig.c (as below).

Hmm... yeah, I knew that would break.  The thing is, ia64 NUMA machines all 
provide ACPI NUMA tables to describe their NUMAness, so I figured it was 
pointless to try and break that up, but I don't really mind either way.

Jesse
-
To unsubscribe from this list: send the line "unsubscribe linux-ia64" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Received on Wed Sep 8 21:08:12 2004

This archive was generated by hypermail 2.1.8 : 2005-08-02 09:20:30 EST