xref: /linux/arch/sparc/kernel/prom.h (revision 5fce09c6f636449d6df971971af1bd4328a21890)
1 #ifndef __PROM_H
2 #define __PROM_H
3 
4 #include <linux/spinlock.h>
5 #include <asm/prom.h>
6 
7 extern struct device_node *allnodes;	/* temporary while merging */
8 extern rwlock_t devtree_lock;	/* temporary while merging */
9 
10 extern void * prom_early_alloc(unsigned long size);
11 
12 #ifdef CONFIG_SPARC64
13 extern void irq_trans_init(struct device_node *dp);
14 #endif
15 
16 #endif /* __PROM_H */
17