diff options
author | Alexey Kardashevskiy <aik@ozlabs.ru> | 2018-07-17 17:19:12 +1000 |
---|---|---|
committer | Michael Ellerman <mpe@ellerman.id.au> | 2018-07-18 16:17:07 +1000 |
commit | 1463edca6734d42ab4406fa2896e20b45478ea36 (patch) | |
tree | ed638bb0b8e1a83288d196343a9f38a35ad11b12 /block | |
parent | 941d810725ad48cc21948f4cff8cf70fa2a67cf9 (diff) | |
download | linux-stable-1463edca6734d42ab4406fa2896e20b45478ea36.tar.gz linux-stable-1463edca6734d42ab4406fa2896e20b45478ea36.tar.bz2 linux-stable-1463edca6734d42ab4406fa2896e20b45478ea36.zip |
vfio/spapr: Use IOMMU pageshift rather than pagesize
The size is always equal to 1 page so let's use this. Later on this will
be used for other checks which use page shifts to check the granularity
of access.
This should cause no behavioral change.
Cc: stable@vger.kernel.org # v4.12+
Reviewed-by: David Gibson <david@gibson.dropbear.id.au>
Acked-by: Alex Williamson <alex.williamson@redhat.com>
Signed-off-by: Alexey Kardashevskiy <aik@ozlabs.ru>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Diffstat (limited to 'block')
0 files changed, 0 insertions, 0 deletions