diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2018-11-01 22:45:38 +0100 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2018-11-01 22:45:38 +0100 |
commit | 34c7685a177a7bc98066f7e5daa42eef621d0bdb (patch) | |
tree | 0f0394724a4c068fd733b4a6a7248d4fe7c79fd1 /drivers/of/base.c | |
parent | Merge tag 'for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/mst/vhost (diff) | |
parent | of: Fix cpu node iterator to not ignore disabled cpu nodes (diff) | |
download | linux-34c7685a177a7bc98066f7e5daa42eef621d0bdb.tar.xz linux-34c7685a177a7bc98066f7e5daa42eef621d0bdb.zip |
Merge tag 'devicetree-fixes-for-4.20-1' of git://git.kernel.org/pub/scm/linux/kernel/git/robh/linux
Pull Devicetree fixes from Rob Herring:
- fix cpu node iterator for powerpc systems
- clarify ARM CPU binding 'capacities-dmips-mhz' property calculations
* tag 'devicetree-fixes-for-4.20-1' of git://git.kernel.org/pub/scm/linux/kernel/git/robh/linux:
of: Fix cpu node iterator to not ignore disabled cpu nodes
dt-bindings: arm: Explain capacities-dmips-mhz calculations in example
Diffstat (limited to 'drivers/of/base.c')
-rw-r--r-- | drivers/of/base.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/of/base.c b/drivers/of/base.c index d023cf303d56..09692c9b32a7 100644 --- a/drivers/of/base.c +++ b/drivers/of/base.c @@ -777,8 +777,6 @@ struct device_node *of_get_next_cpu_node(struct device_node *prev) if (!(of_node_name_eq(next, "cpu") || (next->type && !of_node_cmp(next->type, "cpu")))) continue; - if (!__of_device_is_available(next)) - continue; if (of_node_get(next)) break; } |