mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-07-23 07:12:09 +00:00
[PATCH] ppc64: SMU partition recovery
This patch adds the ability to the SMU driver to recover missing calibration partitions from the SMU chip itself. It also adds some dynamic mecanism to /proc/device-tree so that new properties are visible to userland. Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org> Signed-off-by: Paul Mackerras <paulus@samba.org>
This commit is contained in:
parent
4350147a81
commit
183d020258
10 changed files with 382 additions and 58 deletions
|
@ -139,15 +139,12 @@ extern void proc_tty_unregister_driver(struct tty_driver *driver);
|
|||
/*
|
||||
* proc_devtree.c
|
||||
*/
|
||||
struct device_node;
|
||||
extern void proc_device_tree_init(void);
|
||||
#ifdef CONFIG_PROC_DEVICETREE
|
||||
struct device_node;
|
||||
struct property;
|
||||
extern void proc_device_tree_init(void);
|
||||
extern void proc_device_tree_add_node(struct device_node *, struct proc_dir_entry *);
|
||||
#else /* !CONFIG_PROC_DEVICETREE */
|
||||
static inline void proc_device_tree_add_node(struct device_node *np, struct proc_dir_entry *pde)
|
||||
{
|
||||
return;
|
||||
}
|
||||
extern void proc_device_tree_add_prop(struct proc_dir_entry *pde, struct property *prop);
|
||||
#endif /* CONFIG_PROC_DEVICETREE */
|
||||
|
||||
extern struct proc_dir_entry *proc_symlink(const char *,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue