aboutsummaryrefslogtreecommitdiff
path: root/include/skiboot.h
diff options
context:
space:
mode:
authorGavin Shan <gwshan@linux.vnet.ibm.com>2016-06-10 15:03:35 +1000
committerStewart Smith <stewart@linux.vnet.ibm.com>2016-06-14 16:00:16 +1000
commit229c79d4903ae6d292354eebef56039f7d8219d6 (patch)
tree115f6bef8a313d90d036278d78ab6b1399c45697 /include/skiboot.h
parent108988a1497f23bbce6cc419e48e616648bbdfba (diff)
downloadskiboot-229c79d4903ae6d292354eebef56039f7d8219d6.zip
skiboot-229c79d4903ae6d292354eebef56039f7d8219d6.tar.gz
skiboot-229c79d4903ae6d292354eebef56039f7d8219d6.tar.bz2
core/fdt: Allow to exclude root node
The root node is excluded in the device sub-tree created during PCI hot add time. This adds one extra argument @exclusive to flatten_dt_node(), __create_dtb() and create_dtb() to indicate the root node should be excluded or not. The changes are going to be used by PCI hot add path and it's not affecting anything at present. Signed-off-by: Gavin Shan <gwshan@linux.vnet.ibm.com> Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
Diffstat (limited to 'include/skiboot.h')
-rw-r--r--include/skiboot.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/skiboot.h b/include/skiboot.h
index a878d21..ded6bb8 100644
--- a/include/skiboot.h
+++ b/include/skiboot.h
@@ -251,7 +251,7 @@ extern void prd_init(void);
extern void prd_register_reserved_memory(void);
/* Flatten device-tree */
-extern void *create_dtb(const struct dt_node *root);
+extern void *create_dtb(const struct dt_node *root, bool exclusive);
/* SLW reinit function for switching core settings */
extern int64_t slw_reinit(uint64_t flags);