Skip to content

Commit

Permalink
sparc: Move irq_trans_init() and support code into seperate file.
Browse files Browse the repository at this point in the history
All sparc64 specific, so only build this file on sparc64.

Signed-off-by: David S. Miller <davem@davemloft.net>
  • Loading branch information
David S. Miller committed Dec 6, 2008
1 parent efeac2f commit 5fce09c
Show file tree
Hide file tree
Showing 4 changed files with 847 additions and 830 deletions.
1 change: 1 addition & 0 deletions arch/sparc/kernel/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ obj-$(CONFIG_SPARC32) += muldiv.o
obj-y += prom_common.o
obj-y += prom_$(BITS).o
obj-y += of_device_$(BITS).o
obj-$(CONFIG_SPARC64) += prom_irqtrans.o

obj-$(CONFIG_SPARC64) += reboot.o
obj-$(CONFIG_SPARC64) += sysfs.o
Expand Down
4 changes: 4 additions & 0 deletions arch/sparc/kernel/prom.h
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,8 @@ extern rwlock_t devtree_lock; /* temporary while merging */

extern void * prom_early_alloc(unsigned long size);

#ifdef CONFIG_SPARC64
extern void irq_trans_init(struct device_node *dp);
#endif

#endif /* __PROM_H */
Loading

0 comments on commit 5fce09c

Please sign in to comment.