Re: [PATCH] pcibus_to_node implementation for IA64

From: Jesse Barnes <jesse.barnes_at_intel.com>
Date: 2005-06-24 07:10:07
On Thursday, June 23, 2005 2:02 pm, Christoph Lameter wrote:
> -0700 @@ -109,6 +109,7 @@ struct pci_controller {
>  	void *acpi_handle;
>  	void *iommu;
>  	int segment;
> +	int node;		/* nearest node with memory or -1 for global allocation
> */
...
> +#ifdef CONFIG_NUMA
> +				PCI_CONTROLLER(bus)->node = ioc->node;
> +#endif
>  				return;
>  			}

It looks like you're adding the new 'node' field unconditionally, but 
protecting the sba assignment by CONFIG_NUMA?  Which one is wrong? :)

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 Thu Jun 23 17:14:01 2005

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