perf, sparc: Implement group scheduling transactional APIs
[linux-2.6/linux-acpi-2.6/ibm-acpi-2.6.git] / arch / sparc / kernel / prom.h
bloba8591ef2636d4e55a64738e836c4a084a840d71c
1 #ifndef __PROM_H
2 #define __PROM_H
4 #include <linux/spinlock.h>
5 #include <asm/prom.h>
7 extern void * prom_early_alloc(unsigned long size);
8 extern void irq_trans_init(struct device_node *dp);
10 extern unsigned int prom_unique_id;
12 static inline int is_root_node(const struct device_node *dp)
14 if (!dp)
15 return 0;
17 return (dp->parent == NULL);
20 extern char *build_path_component(struct device_node *dp);
21 extern void of_console_init(void);
23 extern unsigned int prom_early_allocated;
25 #endif /* __PROM_H */