Searched refs:cpus_offset (Results 1 – 1 of 1) sorted by relevance
992 int cpus_offset, cpus_subnode_offset, ret = 0; in update_cpus_node() local994 cpus_offset = fdt_path_offset(fdt, "/cpus"); in update_cpus_node()995 if (cpus_offset < 0 && cpus_offset != -FDT_ERR_NOTFOUND) { in update_cpus_node()997 fdt_strerror(cpus_offset)); in update_cpus_node()998 return cpus_offset; in update_cpus_node()1001 if (cpus_offset > 0) { in update_cpus_node()1002 ret = fdt_del_node(fdt, cpus_offset); in update_cpus_node()1010 cpus_offset = fdt_add_subnode(fdt, fdt_path_offset(fdt, "/"), "cpus"); in update_cpus_node()1011 if (cpus_offset < 0) { in update_cpus_node()1012 pr_err("Error creating /cpus node: %s\n", fdt_strerror(cpus_offset)); in update_cpus_node()[all …]