sparc: expand cpu table
[deliverable/linux.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
6524036a
DM
18static inline int is_root_node(const struct device_node *dp)
19{
20 if (!dp)
21 return 0;
b9e5567c 22
6524036a
DM
23 return (dp->parent == NULL);
24}
25
26extern char *build_path_component(struct device_node *dp);
23dc758e
DM
27extern void of_console_init(void);
28extern void of_fill_in_cpu_data(void);
6524036a 29
23dc758e 30extern unsigned int prom_early_allocated;
6524036a 31
657f201d 32#endif /* __PROM_H */
This page took 0.024639 seconds and 5 git commands to generate.