]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commit
[IA64] pcibus_to_node implementation for IA64
authorChristoph Lameter <clameter@sgi.com>
Thu, 7 Jul 2005 23:59:00 +0000 (16:59 -0700)
committerTony Luck <tony.luck@intel.com>
Tue, 12 Jul 2005 18:04:22 +0000 (11:04 -0700)
commit514604c6d1779c55d3e97dc4e9a71c117c1ccbcd
tree19241b4db64f1da60c0dd594606c5d5fba8b254f
parent1604d9c8f8dffafe3a077dc5ae7c935d2318bcf6
[IA64] pcibus_to_node implementation for IA64

pcibus_to_node provides a way for the Linux kernel to identify to which
node a certain pcibus connects to. Allocations of control structures
for devices can then be made on the node where the pci bus is located
to allow local access during interrupt and other device manipulation.

This patch provides a new "node" field in the the pci_controller
structure. The node field will be set based on ACPI information (thanks
to Alex Williamson  <alex.williamson@hp.com for that piece).

Signed-off-by: Christoph Lameter <clameter@sgi.com>
Signed-off-by: Tony Luck <tony.luck@intel.com>
arch/ia64/pci/pci.c
include/asm-ia64/pci.h
include/asm-ia64/topology.h