1657f201dSDavid S. Miller #ifndef __PROM_H 2657f201dSDavid S. Miller #define __PROM_H 3657f201dSDavid S. Miller 4657f201dSDavid S. Miller #include <linux/spinlock.h> 5657f201dSDavid S. Miller #include <asm/prom.h> 6657f201dSDavid S. Miller 7657f201dSDavid S. Miller extern struct device_node *allnodes; /* temporary while merging */ 8657f201dSDavid S. Miller extern rwlock_t devtree_lock; /* temporary while merging */ 9657f201dSDavid S. Miller 10efeac2f8SDavid S. Miller extern void * prom_early_alloc(unsigned long size); 11efeac2f8SDavid S. Miller 12657f201dSDavid S. Miller #endif /* __PROM_H */ 13