dlpar.c (f01387d2693813eb5271a3448e6a082322c7d75d) | dlpar.c (97a9a7179aad701ab676e6f29eb90766a1acfde2) |
---|---|
1/* 2 * Support for dynamic reconfiguration for PCI, Memory, and CPU 3 * Hotplug and Dynamic Logical Partitioning on RPA platforms. 4 * 5 * Copyright (C) 2009 Nathan Fontenot 6 * Copyright (C) 2009 IBM Corporation 7 * 8 * This program is free software; you can redistribute it and/or --- 72 unchanged lines hidden (view full) --- 81 name = (char *)ccwa + ccwa->name_offset; 82 dn->full_name = kasprintf(GFP_KERNEL, "%s/%s", path, name); 83 if (!dn->full_name) { 84 kfree(dn); 85 return NULL; 86 } 87 88 of_node_set_flag(dn, OF_DYNAMIC); | 1/* 2 * Support for dynamic reconfiguration for PCI, Memory, and CPU 3 * Hotplug and Dynamic Logical Partitioning on RPA platforms. 4 * 5 * Copyright (C) 2009 Nathan Fontenot 6 * Copyright (C) 2009 IBM Corporation 7 * 8 * This program is free software; you can redistribute it and/or --- 72 unchanged lines hidden (view full) --- 81 name = (char *)ccwa + ccwa->name_offset; 82 dn->full_name = kasprintf(GFP_KERNEL, "%s/%s", path, name); 83 if (!dn->full_name) { 84 kfree(dn); 85 return NULL; 86 } 87 88 of_node_set_flag(dn, OF_DYNAMIC); |
89 of_node_init(dn); |
|
89 90 return dn; 91} 92 93static void dlpar_free_one_cc_node(struct device_node *dn) 94{ 95 struct property *prop; 96 --- 445 unchanged lines hidden --- | 90 91 return dn; 92} 93 94static void dlpar_free_one_cc_node(struct device_node *dn) 95{ 96 struct property *prop; 97 --- 445 unchanged lines hidden --- |