kernel-ark/arch/sparc/kernel/prom.h
David S. Miller b9e5567cda sparc: Move property building code into prom_common.c
Unfortunately there is some sparc32/sparc64 ifdef'ery in
here due to the difference in how the prom_firstprop()
and prom_nextprop() routines work.

This will be eliminated eventually.

Signed-off-by: David S. Miller <davem@davemloft.net>
2008-12-05 17:04:22 -08:00

21 lines
472 B
C

#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 */
extern void * prom_early_alloc(unsigned long size);
#ifdef CONFIG_SPARC64
extern void irq_trans_init(struct device_node *dp);
#endif
extern unsigned int prom_unique_id;
extern struct property * __init build_prop_list(phandle node);
#endif /* __PROM_H */