From: Gavin Shan Date: Wed, 12 Nov 2014 02:36:11 +0000 (+1100) Subject: powerpc/powernv: Fix potential zero devisor X-Git-Tag: omap-for-v3.19/fixes-rc1~123^2~13 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=cf2b1e0eb0c281122b001cc879ca0118bff71255;p=pandora-kernel.git powerpc/powernv: Fix potential zero devisor If there're no PHBs under P5IOC2 HUB device tree node, we should bail early to avoid zero devisor and allocating TCE tables. Reported-by: Anton Blanchard Signed-off-by: Gavin Shan Signed-off-by: Michael Ellerman --- Reading git-diff-tree failed