diff options
author | David S. Miller <davem@davemloft.net> | 2008-12-07 03:46:33 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-12-07 03:46:33 -0500 |
commit | bf944c370ab181ada51c0754a2d13ae8543b149a (patch) | |
tree | dec0cef77c48098557c3d4bc84632b3e159e0ad9 /arch/sparc/kernel/prom.h | |
parent | d34dd82905fb8e1117b67ab6c32989f88cfa0ba8 (diff) |
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.h')
-rw-r--r-- | arch/sparc/kernel/prom.h | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/arch/sparc/kernel/prom.h b/arch/sparc/kernel/prom.h index 0764b354b52c..bb0f0fda6cab 100644 --- a/arch/sparc/kernel/prom.h +++ b/arch/sparc/kernel/prom.h | |||
@@ -8,10 +8,7 @@ extern struct device_node *allnodes; /* temporary while merging */ | |||
8 | extern rwlock_t devtree_lock; /* temporary while merging */ | 8 | extern rwlock_t devtree_lock; /* temporary while merging */ |
9 | 9 | ||
10 | extern void * prom_early_alloc(unsigned long size); | 10 | extern void * prom_early_alloc(unsigned long size); |
11 | |||
12 | #ifdef CONFIG_SPARC64 | ||
13 | extern void irq_trans_init(struct device_node *dp); | 11 | extern void irq_trans_init(struct device_node *dp); |
14 | #endif | ||
15 | 12 | ||
16 | extern unsigned int prom_unique_id; | 13 | extern unsigned int prom_unique_id; |
17 | 14 | ||