powerpc/iommu: Fix iommu pool initialization
authorBenjamin Herrenschmidt <benh@kernel.crashing.org>
Fri, 13 Jul 2012 07:45:49 +0000 (17:45 +1000)
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>
Fri, 13 Jul 2012 07:45:49 +0000 (17:45 +1000)
commitdcd261ba58d7a49f4624b34b3bd2d535f63643a2
treeb170d0c3581d11294e25bd8f5cb795a930876d10
parentaf3bf7fbe0148aadc8fedd6f5e5279cabef9ced5
powerpc/iommu: Fix iommu pool initialization

The iommu pool patch has a bug where it would cause a crash when using
only one pool (based on the size of the DMA window).

Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
arch/powerpc/kernel/iommu.c