aboutsummaryrefslogtreecommitdiff
path: root/arch/sparc/kernel/prom.h
blob: d14b4ae4fc579c2216e72fe9cdba1b0be2ceb7a9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#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 device_node * __init create_node(phandle node,
					       struct device_node *parent);

#endif /* __PROM_H */