summaryrefslogtreecommitdiffstats
path: root/arch/sparc/kernel/prom_common.c
diff options
context:
space:
mode:
authorDavid S. Miller <davem@davemloft.net>2008-12-07 09:46:33 +0100
committerDavid S. Miller <davem@davemloft.net>2008-12-07 09:46:33 +0100
commitbf944c370ab181ada51c0754a2d13ae8543b149a (patch)
treedec0cef77c48098557c3d4bc84632b3e159e0ad9 /arch/sparc/kernel/prom_common.c
parentsparc: unify kernel/cpu (diff)
downloadlinux-bf944c370ab181ada51c0754a2d13ae8543b149a.tar.xz
linux-bf944c370ab181ada51c0754a2d13ae8543b149a.zip
sparc: Restore irq_trans_init() call in prom_create_node().
This broke sparc64 in various ways. Add an empty dummy hook in sparc32's prom_32.c so that we can potentially handle things on that side similarly, and in particular avoid a prom_common.c ifdef :-) Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'arch/sparc/kernel/prom_common.c')
-rw-r--r--arch/sparc/kernel/prom_common.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/sparc/kernel/prom_common.c b/arch/sparc/kernel/prom_common.c
index 2736f3d74c7f..4e9af593db49 100644
--- a/arch/sparc/kernel/prom_common.c
+++ b/arch/sparc/kernel/prom_common.c
@@ -243,10 +243,10 @@ static struct device_node * __init prom_create_node(phandle node,
dp->type = get_one_property(node, "device_type");
dp->node = node;
- /* Build interrupts later... */
-
dp->properties = build_prop_list(node);
+ irq_trans_init(dp);
+
return dp;
}