Commit 5fce09c6 authored by David S. Miller's avatar David S. Miller

sparc: Move irq_trans_init() and support code into seperate file.

All sparc64 specific, so only build this file on sparc64.
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent efeac2f8
...@@ -38,6 +38,7 @@ obj-$(CONFIG_SPARC32) += muldiv.o ...@@ -38,6 +38,7 @@ obj-$(CONFIG_SPARC32) += muldiv.o
obj-y += prom_common.o obj-y += prom_common.o
obj-y += prom_$(BITS).o obj-y += prom_$(BITS).o
obj-y += of_device_$(BITS).o obj-y += of_device_$(BITS).o
obj-$(CONFIG_SPARC64) += prom_irqtrans.o
obj-$(CONFIG_SPARC64) += reboot.o obj-$(CONFIG_SPARC64) += reboot.o
obj-$(CONFIG_SPARC64) += sysfs.o obj-$(CONFIG_SPARC64) += sysfs.o
......
...@@ -9,4 +9,8 @@ extern rwlock_t devtree_lock; /* temporary while merging */ ...@@ -9,4 +9,8 @@ extern rwlock_t devtree_lock; /* temporary while merging */
extern void * prom_early_alloc(unsigned long size); extern void * prom_early_alloc(unsigned long size);
#ifdef CONFIG_SPARC64
extern void irq_trans_init(struct device_node *dp);
#endif
#endif /* __PROM_H */ #endif /* __PROM_H */
This diff is collapsed.
This diff is collapsed.
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment