summaryrefslogtreecommitdiffstats
path: root/arch/sparc/kernel/ebus.c
diff options
context:
space:
mode:
authorRobert Reif <reif@earthlink.net>2007-08-10 15:52:06 -0700
committerDavid S. Miller <davem@davemloft.net>2007-08-10 15:52:06 -0700
commit3ac4c949e02f26be1e4378f9acfb07ec87db947b (patch)
treeb22c949a7c20ae61f34cc6a12a240dbf600b1f2f /arch/sparc/kernel/ebus.c
parentac07860264bd2b18834d3fa3be47032115524cea (diff)
downloadblackbird-obmc-linux-3ac4c949e02f26be1e4378f9acfb07ec87db947b.tar.gz
blackbird-obmc-linux-3ac4c949e02f26be1e4378f9acfb07ec87db947b.zip
[SPARC32]: Remove iommu from struct sbus_bus and use archdata like sparc64.
Signed-off-by: Robert Reif <reif@earthlink.net> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'arch/sparc/kernel/ebus.c')
-rw-r--r--arch/sparc/kernel/ebus.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/sparc/kernel/ebus.c b/arch/sparc/kernel/ebus.c
index ac352eb6dff3..e2d02fd13f35 100644
--- a/arch/sparc/kernel/ebus.c
+++ b/arch/sparc/kernel/ebus.c
@@ -238,6 +238,7 @@ void __init fill_ebus_device(struct device_node *dp, struct linux_ebus_device *d
sd = &dev->ofdev.dev.archdata;
sd->prom_node = dp;
sd->op = &dev->ofdev;
+ sd->iommu = dev->bus->ofdev.dev.parent->archdata.iommu;
dev->ofdev.node = dp;
dev->ofdev.dev.parent = &dev->bus->ofdev.dev;
OpenPOWER on IntegriCloud