summaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/bin
diff options
context:
space:
mode:
authorAlexey Kardashevskiy <aik@ozlabs.ru>2017-02-21 13:38:54 +1100
committerMichael Ellerman <mpe@ellerman.id.au>2017-03-20 19:02:49 +1100
commit81d5fe1a3b1acfaadc7921d08609e097c6345d7f (patch)
tree20e9a36c6a99e1c1049a812ae538ae45b7800eaf /tools/perf/scripts/python/bin
parentb3a7864c6feb0fb30bc2cd3726570746bec41697 (diff)
downloadlinux-81d5fe1a3b1acfaadc7921d08609e097c6345d7f.tar.gz
linux-81d5fe1a3b1acfaadc7921d08609e097c6345d7f.zip
powerpc/powernv: Fix it_ops::get() callback to return in cpu endian
The iommu_table_ops callbacks are declared CPU endian as they take and return "unsigned long"; underlying hardware tables are big-endian. However get() was missing be64_to_cpu(), this adds the missing conversion. The only caller of this is crash dump at arch/powerpc/kernel/iommu.c, iommu_table_clear() which only compares TCE to zero so this change should not cause behavioral change. Signed-off-by: Alexey Kardashevskiy <aik@ozlabs.ru> Reviewed-by: David Gibson <david@gibson.dropbear.id.au> Acked-by: Gavin Shan <gwshan@linux.vnet.ibm.com> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions