powerpc/powernv: Use it_page_shift in TCE build
authorAlexey Kardashevskiy <aik@ozlabs.ru>
Fri, 6 Jun 2014 08:44:02 +0000 (18:44 +1000)
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>
Fri, 11 Jul 2014 06:05:48 +0000 (16:05 +1000)
commitbc32057ed5cdb9ca1fe98af1363e26c0a4d14b5f
tree672c6288076c646764b7b1a2b8c4de6be4059c65
parentb0376c9b08d627aac7cc282138a40edebae7b9ae
powerpc/powernv: Use it_page_shift in TCE build

This makes use of iommu_table::it_page_shift instead of TCE_SHIFT and
TCE_RPN_SHIFT hardcoded values.

Signed-off-by: Alexey Kardashevskiy <aik@ozlabs.ru>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
arch/powerpc/platforms/powernv/pci.c