]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/blame - arch/sparc/kernel/prom.h
sparc: Match sparc32's build_tree() up to sparc64's
[mirror_ubuntu-bionic-kernel.git] / arch / sparc / kernel / prom.h
CommitLineData
657f201d
DM
1#ifndef __PROM_H
2#define __PROM_H
3
4#include <linux/spinlock.h>
5#include <asm/prom.h>
6
7extern struct device_node *allnodes; /* temporary while merging */
8extern rwlock_t devtree_lock; /* temporary while merging */
9
efeac2f8
DM
10extern void * prom_early_alloc(unsigned long size);
11
5fce09c6
DM
12#ifdef CONFIG_SPARC64
13extern void irq_trans_init(struct device_node *dp);
14#endif
15
e5ff0fe3
DM
16extern unsigned int prom_unique_id;
17
7d9439d5
DM
18extern struct device_node * __init create_node(phandle node,
19 struct device_node *parent);
b9e5567c 20
657f201d 21#endif /* __PROM_H */