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 125fce09c6SDavid S. Miller #ifdef CONFIG_SPARC64 135fce09c6SDavid S. Miller extern void irq_trans_init(struct device_node *dp); 145fce09c6SDavid S. Miller #endif 155fce09c6SDavid S. Miller 16e5ff0fe3SDavid S. Miller extern unsigned int prom_unique_id; 17e5ff0fe3SDavid S. Miller 18657f201dSDavid S. Miller #endif /* __PROM_H */ 19