diff options
author | Will Deacon <will.deacon@arm.com> | 2012-12-17 23:59:42 (GMT) |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2012-12-18 01:15:13 (GMT) |
commit | 41739ee355abc39d36bde6feed32ad16c63ceea2 (patch) | |
tree | 9eec892c34b20a129a024fa3530e92ec7f8f7ace /lib/percpu_counter.c | |
parent | da01ee3c8e7954fb7ed0ceb002d482c79f8b2ccd (diff) | |
download | linux-fsl-qoriq-41739ee355abc39d36bde6feed32ad16c63ceea2.tar.xz |
asm-generic: io: don't perform swab during {in,out} string functions
The {in,out}s{b,w,l} functions are designed to operate on a stream of
bytes and therefore should not perform any byte-swapping, regardless of
the CPU byte order.
This patch fixes the generic IO header so that {in,out}s{b,w,l} call the
__raw_{read,write} functions directly rather than going via the
endian-correcting accessors.
Signed-off-by: Will Deacon <will.deacon@arm.com>
Cc: Mike Frysinger <vapier@gentoo.org>
Acked-by: Arnd Bergmann <arnd@arndb.de>
Acked-by: Ben Herrenschmidt <benh@kernel.crashing.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'lib/percpu_counter.c')
0 files changed, 0 insertions, 0 deletions