blob: 49925101f8f861c4422c4bdde35e11931e6109b8 [file] [log] [blame]
David S. Miller657f2012008-12-04 20:12:20 -08001#ifndef __PROM_H
2#define __PROM_H
3
4#include <linux/spinlock.h>
5#include <asm/prom.h>
6
7extern struct device_node *allnodes; /* temporary while merging */
8extern rwlock_t devtree_lock; /* temporary while merging */
9
David S. Millerefeac2f2008-12-05 00:40:43 -080010extern void * prom_early_alloc(unsigned long size);
11
David S. Miller5fce09c2008-12-05 00:43:03 -080012#ifdef CONFIG_SPARC64
13extern void irq_trans_init(struct device_node *dp);
14#endif
15
David S. Miller657f2012008-12-04 20:12:20 -080016#endif /* __PROM_H */