OSDN Git Service

of: make PowerMac cache node search conditional on CONFIG_PPC_PMAC
authorRob Herring <robh@kernel.org>
Mon, 27 Aug 2018 14:50:09 +0000 (09:50 -0500)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 22 Nov 2019 13:43:25 +0000 (14:43 +0100)
commit364eab5a2143fbecaae0708b849974ea21dd3796
tree59a853bf96b2ac8ae50be6c9b675444741e2d883
parentc00b5fa8e12af2574beebd30d70f6d30ca89a47e
of: make PowerMac cache node search conditional on CONFIG_PPC_PMAC

[ Upstream commit f6707fd6241e483f6fea2caae82d876e422bb11a ]

Cache nodes under the cpu node(s) is PowerMac specific according to the
comment above, so make the code enforce that.

Signed-off-by: Rob Herring <robh@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/of/base.c