powerpc: put csum_tcpudp_magic inline
authorLEROY Christophe <christophe.leroy@c-s.fr>
Tue, 19 May 2015 15:18:55 +0000 (17:18 +0200)
committerScott Wood <scottwood@freescale.com>
Sat, 8 Aug 2015 03:59:19 +0000 (22:59 -0500)
csum_tcpudp_magic() is only a few instructions, and does modify
really few registers. So it is not worth having it as a separate
function and suffer function branching and saving of volatile
registers.

This patch makes it inline by use of the already existing
csum_tcpudp_nofold() function.

Signed-off-by: Christophe Leroy <christophe.leroy@c-s.fr>
Signed-off-by: Scott Wood <scottwood@freescale.com>
arch/powerpc/include/asm/checksum.h
arch/powerpc/lib/checksum_32.S
arch/powerpc/lib/checksum_64.S

Simple merge
Simple merge
Simple merge