blob: 49c25bdaeff3347ca84afcbc4d5a97df1fb57b94 [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. Millere5ff0fe2008-12-05 00:50:22 -080016extern unsigned int prom_unique_id;
17
David S. Millerb9e55672008-12-05 01:00:46 -080018extern struct property * __init build_prop_list(phandle node);
19
David S. Miller657f2012008-12-04 20:12:20 -080020#endif /* __PROM_H */