commit | 84b14256c18c967afd3cf4ee2df09535587154e0 | [log] [tgz] |
---|---|---|
author | Zhen Lei <thunder.leizhen@huawei.com> | Thu Sep 01 14:54:53 2016 +0800 |
committer | Will Deacon <will.deacon@arm.com> | Fri Sep 09 14:59:08 2016 +0100 |
tree | 901440b13550ffccc512aae2b50d517d6a67a48d | |
parent | 16a82f06c40301045e4c05297ea93b85595dbbc4 [diff] |
of/numa: fix a memory@ node can only contains one memory block For a normal memory@ devicetree node, its reg property can contains more memory blocks. Because we don't known how many memory blocks maybe contained, so we try from index=0, increase 1 until error returned(the end). Signed-off-by: Zhen Lei <thunder.leizhen@huawei.com> Acked-by: Rob Herring <robh@kernel.org> Signed-off-by: Will Deacon <will.deacon@arm.com>