diff options
author | Benjamin Herrenschmidt <benh@kernel.crashing.org> | 2014-10-03 17:12:25 +1000 |
---|---|---|
committer | Michael Ellerman <mpe@ellerman.id.au> | 2014-10-07 16:01:18 +1100 |
commit | bf7588a0859580a45c63cb082825d77c13eca357 (patch) | |
tree | 135be483b54c55629ed035347a05d788d87f4e3a /arch/powerpc/perf/hv-24x7.c | |
parent | 75d43b2d0a323ba894d85060888f039e41b441ca (diff) | |
download | linux-bf7588a0859580a45c63cb082825d77c13eca357.tar.bz2 |
powerpc/powernv: Fix endian bug in LPC bus debugfs accessors
When reading from the LPC, the OPAL FW calls return the value via pointer
to a uint32_t which is always returned big endian. Our internal inb/outb
implementation byteswaps that fine but our debugfs code is still broken.
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
CC: <stable@vger.kernel.org>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Diffstat (limited to 'arch/powerpc/perf/hv-24x7.c')
0 files changed, 0 insertions, 0 deletions