]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
powerpc: inline ip_fast_csum()
authorChristophe Leroy <christophe.leroy@c-s.fr>
Tue, 22 Sep 2015 14:34:25 +0000 (16:34 +0200)
committerScott Wood <oss@buserror.net>
Sat, 5 Mar 2016 03:49:49 +0000 (21:49 -0600)
commit37e08cad8f177f7bf6226a9b3724234ac3d3c81d
tree984dc76493e20ac92f062ccfcd41e48560237a25
parent03bc8b0fc87616c75c6dd060a2191e7fc8faacb6
powerpc: inline ip_fast_csum()

In several architectures, ip_fast_csum() is inlined
There are functions like ip_send_check() which do nothing
much more than calling ip_fast_csum().
Inlining ip_fast_csum() allows the compiler to optimise better

Suggested-by: Eric Dumazet <eric.dumazet@gmail.com>
Signed-off-by: Christophe Leroy <christophe.leroy@c-s.fr>
[scottwood: whitespace and cast fixes]
Signed-off-by: Scott Wood <oss@buserror.net>
arch/powerpc/include/asm/checksum.h
arch/powerpc/lib/checksum_32.S
arch/powerpc/lib/checksum_64.S
arch/powerpc/lib/ppc_ksyms.c