Home
last modified time | relevance | path

Searched refs:cpus_offset (Results 1 – 1 of 1) sorted by relevance

/linux/arch/powerpc/kexec/
H A Dcore_64.c480 int cpus_offset, cpus_subnode_offset, ret = 0; in update_cpus_node() local
482 cpus_offset = fdt_path_offset(fdt, "/cpus"); in update_cpus_node()
483 if (cpus_offset < 0 && cpus_offset != -FDT_ERR_NOTFOUND) { in update_cpus_node()
485 fdt_strerror(cpus_offset)); in update_cpus_node()
486 return cpus_offset; in update_cpus_node()
489 prev_node_offset = cpus_offset; in update_cpus_node()
491 for (cpus_subnode_offset = fdt_first_subnode(fdt, cpus_offset); cpus_subnode_offset >= 0;) { in update_cpus_node()
505 if (prev_node_offset == cpus_offset) in update_cpus_node()
506 cpus_subnode_offset = fdt_first_subnode(fdt, cpus_offset); in update_cpus_node()
527 cpus_subnode_offset = fdt_add_subnode(fdt, cpus_offset, dn->full_name); in update_cpus_node()