diff options
author | Jeff Layton <jlayton@redhat.com> | 2011-01-20 18:36:51 (GMT) |
---|---|---|
committer | Steve French <sfrench@us.ibm.com> | 2011-01-20 21:46:29 (GMT) |
commit | 690c522fa5a62825af880775e3ef1e55755667b2 (patch) | |
tree | ff953bba1050b54cc9be452a599ac1faf580c3b7 /firmware/myricom/lanai.bin.ihex | |
parent | aae62fdb6b9a6605abdea7370c4a0e005e6c1cd7 (diff) | |
download | linux-fsl-qoriq-690c522fa5a62825af880775e3ef1e55755667b2.tar.xz |
cifs: use get/put_unaligned functions to access ByteCount
It's possible that when we access the ByteCount that the alignment
will be off. Most CPUs deal with that transparently, but there's
usually some performance impact. Some CPUs raise an exception on
unaligned accesses.
Fix this by accessing the byte count using the get_unaligned and
put_unaligned inlined functions. While we're at it, fix the types
of some of the variables that end up getting returns from these
functions.
Acked-by: Pavel Shilovsky <piastryyy@gmail.com>
Signed-off-by: Jeff Layton <jlayton@redhat.com>
Signed-off-by: Steve French <sfrench@us.ibm.com>
Diffstat (limited to 'firmware/myricom/lanai.bin.ihex')
0 files changed, 0 insertions, 0 deletions