.. | .. |
---|
2 | 2 | #ifndef _POWERNV_H |
---|
3 | 3 | #define _POWERNV_H |
---|
4 | 4 | |
---|
| 5 | +/* |
---|
| 6 | + * There's various hacks scattered throughout the generic powerpc arch code |
---|
| 7 | + * that needs to call into powernv platform stuff. The prototypes for those |
---|
| 8 | + * functions are in asm/powernv.h |
---|
| 9 | + */ |
---|
| 10 | +#include <asm/powernv.h> |
---|
| 11 | + |
---|
5 | 12 | #ifdef CONFIG_SMP |
---|
6 | 13 | extern void pnv_smp_init(void); |
---|
7 | 14 | #else |
---|
.. | .. |
---|
30 | 37 | |
---|
31 | 38 | bool cpu_core_split_required(void); |
---|
32 | 39 | |
---|
| 40 | +struct memcons; |
---|
| 41 | +ssize_t memcons_copy(struct memcons *mc, char *to, loff_t pos, size_t count); |
---|
| 42 | +u32 memcons_get_size(struct memcons *mc); |
---|
| 43 | +struct memcons *memcons_init(struct device_node *node, const char *mc_prop_name); |
---|
| 44 | + |
---|
| 45 | +void pnv_rng_init(void); |
---|
| 46 | + |
---|
33 | 47 | #endif /* _POWERNV_H */ |
---|