aboutsummaryrefslogtreecommitdiffstats
path: root/fs/mbcache.c
diff options
context:
space:
mode:
authorRussell King <rmk@dyn-67.arm.linux.org.uk>2006-12-21 15:59:37 -0500
committerRussell King <rmk+kernel@arm.linux.org.uk>2007-02-06 11:46:46 -0500
commit7ef416c4b878685a419a3b2f133ab5e7283f96b0 (patch)
treeb3a32e3e3f4f3329a624d553aed297e8fcbcf60e /fs/mbcache.c
parent10c03f69680e9e2acd8a9409a230aef37295ac49 (diff)
[ARM] Improve csum_fold, cleanup csum_tcpudp_magic()
csum_fold doesn't need two assembly instructions to perform its task, it can simply add the high and low parts together by rotating by 16 bits, and the carry into the upper-16 bits will automatically happen. Also, since csum_tcpudp_magic() is just csum_tcpudp_nofold + csum_fold, use those two functions to achieve this. Also note that there is a csum_fold() at the end of ip_fast_csum() as well, so use the real csum_fold() there as well. Boot tested on Versatile. Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'fs/mbcache.c')
0 files changed, 0 insertions, 0 deletions