commit | cf2b1e0eb0c281122b001cc879ca0118bff71255 | [log] [tgz] |
---|---|---|
author | Gavin Shan <gwshan@linux.vnet.ibm.com> | Wed Nov 12 13:36:11 2014 +1100 |
committer | Michael Ellerman <mpe@ellerman.id.au> | Fri Nov 14 17:24:25 2014 +1100 |
tree | 1507182116826675e204a2352ecee75bfa32dda7 | |
parent | ec8e4e9d3d83b7a973477c2cb4831511b0eec06e [diff] |
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 <anton@samba.org> Signed-off-by: Gavin Shan <gwshan@linux.vnet.ibm.com> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>