diff options
author | Jason Gunthorpe <jgunthorpe@obsidianresearch.com> | 2016-01-08 00:36:25 (GMT) |
---|---|---|
committer | Jarkko Sakkinen <jarkko.sakkinen@linux.intel.com> | 2016-02-10 02:11:43 (GMT) |
commit | 1e3ed59d6200eb31b554dbdcfdde62d1e3d91f0c (patch) | |
tree | 3825151b8dd86a58a67f05736a507dad312bf93d /drivers/virtio | |
parent | 00194826e6be333083ba9ddbd6e83fb423206f8a (diff) | |
download | linux-1e3ed59d6200eb31b554dbdcfdde62d1e3d91f0c.tar.xz |
tpm_crb: Drop le32_to_cpu(ioread32(..))
ioread32 and readl are defined to read from PCI style memory, ie little
endian and return the result in host order. On platforms where a
swap is required ioread32/readl do the swap internally (eg see ppc).
Signed-off-by: Jason Gunthorpe <jgunthorpe@obsidianresearch.com>
Tested-by: Jarkko Sakkinen <jarkko.sakkinen@linux.intel.com>
Reviewed-by: Jarkko Sakkinen <jarkko.sakkinen@linux.intel.com>
Acked-by: Peter Huewe <peterhuewe@gmx.de>
Diffstat (limited to 'drivers/virtio')
0 files changed, 0 insertions, 0 deletions