[SPARC64]: Fix IOMMU mapping on sun4v.
authorDavid S. Miller <davem@sunset.davemloft.net>
Tue, 14 Feb 2006 05:50:27 +0000 (21:50 -0800)
committerDavid S. Miller <davem@sunset.davemloft.net>
Mon, 20 Mar 2006 09:12:48 +0000 (01:12 -0800)
commit7c8f486ae7fe90d7bb99a70a42d71c9a40688ec2
tree530873917fefde54ab7a5a86f9027ebe70bdd966
parent87bdc367ca1a7e16c29a6bff6b1e8fe179e27f90
[SPARC64]: Fix IOMMU mapping on sun4v.

We should dynamically allocate the per-cpu pglist not use
an in-kernel-image datum, since __pa() does not work on
such addresses.

Also, consistently use "u32" for devhandle.

Signed-off-by: David S. Miller <davem@davemloft.net>
arch/sparc64/kernel/pci_sun4v.c