2008-12-04 23:12:20 -05:00
|
|
|
#ifndef __PROM_H
|
|
|
|
#define __PROM_H
|
|
|
|
|
|
|
|
#include <linux/spinlock.h>
|
|
|
|
#include <asm/prom.h>
|
|
|
|
|
|
|
|
extern struct device_node *allnodes; /* temporary while merging */
|
|
|
|
extern rwlock_t devtree_lock; /* temporary while merging */
|
|
|
|
|
2008-12-05 03:40:43 -05:00
|
|
|
extern void * prom_early_alloc(unsigned long size);
|
|
|
|
|
2008-12-04 23:12:20 -05:00
|
|
|
#endif /* __PROM_H */
|