prom.h 408 B

123456789101112131415161718
  1. #ifndef __PROM_H
  2. #define __PROM_H
  3. #include <linux/spinlock.h>
  4. #include <asm/prom.h>
  5. extern struct device_node *allnodes; /* temporary while merging */
  6. extern rwlock_t devtree_lock; /* temporary while merging */
  7. extern void * prom_early_alloc(unsigned long size);
  8. #ifdef CONFIG_SPARC64
  9. extern void irq_trans_init(struct device_node *dp);
  10. #endif
  11. extern unsigned int prom_unique_id;
  12. #endif /* __PROM_H */