diff options
author | Florian Fainelli <[email protected]> | 2017-08-29 12:25:31 -0700 |
---|---|---|
committer | David S. Miller <[email protected]> | 2017-08-29 16:09:07 -0700 |
commit | 69d2ea9c798983c4a7157278ec84ff969d1cd8e8 (patch) | |
tree | b91dd8be8448731070c46e3219812996bf5d3410 /lib/mpi/mpi-cmp.c | |
parent | b6eb9d500087a79feab2be8adb84826ffc955690 (diff) |
net: bcmgenet: Use correct I/O accessors
The GENET driver currently uses __raw_{read,write}l which means
native I/O endian. This works correctly for an ARM LE kernel (default)
but fails miserably on an ARM BE (BE8) kernel where registers are kept
little endian, so replace uses with {read,write}l_relaxed here which is
what we want because this is all performance sensitive code.
Signed-off-by: Florian Fainelli <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'lib/mpi/mpi-cmp.c')
0 files changed, 0 insertions, 0 deletions