From: Scott Wood <scottwood@freescale.com>
To: Christophe Leroy <christophe.leroy@c-s.fr>
Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org>,
Paul Mackerras <paulus@samba.org>,
Michael Ellerman <mpe@ellerman.id.au>,
<linux-kernel@vger.kernel.org>, <linuxppc-dev@lists.ozlabs.org>,
"Joakim Tjernlund" <joakim.tjernlund@transmode.se>
Subject: Re: [PATCH 1/2] powerpc32: checksum_wrappers_64 becomes checksum_wrappers
Date: Mon, 22 Jun 2015 19:31:10 -0500 [thread overview]
Message-ID: <1435019470.2818.2.camel@freescale.com> (raw)
In-Reply-To: <0636b88c7d11acb6a4d638e39bfcbb98c1d86045.1434978970.git.christophe.leroy@c-s.fr>
On Mon, 2015-06-22 at 19:01 +0200, Christophe Leroy wrote:
> The powerpc64 checksum wrapper functions adds the
> csum_and_copy_to_user() which
> otherwise is implemented in include/net/checksum.h by using
> csum_partial() then
> copy_to_user()
>
> Those two wrapper fonctions are also applicable to powerpc32 as it
> is based on
> the use of csum_partial_copy_generic() which also exists on powerpc32
>
> This patch renames arch/powerpc/lib/checksum_wrappers_64.c to
> arch/powerpc/lib/checksum_wrappers.c and
> makes it non-conditional to CONFIG_WORD_SIZE
>
> Signed-off-by: Christophe Leroy <christophe.leroy@c-s.fr>
> ---
> arch/powerpc/include/asm/checksum.h | 9 ---
> arch/powerpc/lib/Makefile | 3 +-
> arch/powerpc/lib/checksum_wrappers.c | 102
> ++++++++++++++++++++++++++++++++
> arch/powerpc/lib/checksum_wrappers_64.c | 102 ----------------------
> ----------
Please pass "-M -C" to git format-patch so we can see if anything
changed while being moved.
-Scott
next prev parent reply other threads:[~2015-06-23 0:31 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-06-22 17:01 [PATCH 0/2] powerpc32: optimisation of csum_partial_copy_generic() Christophe Leroy
2015-06-22 17:01 ` [PATCH 1/2] powerpc32: checksum_wrappers_64 becomes checksum_wrappers Christophe Leroy
2015-06-23 0:31 ` Scott Wood [this message]
2015-06-22 17:01 ` [PATCH 2/2] powerpc32: rewrite of csum_partial_copy_generic based of copy_tofrom_user Christophe Leroy
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1435019470.2818.2.camel@freescale.com \
--to=scottwood@freescale.com \
--cc=benh@kernel.crashing.org \
--cc=christophe.leroy@c-s.fr \
--cc=joakim.tjernlund@transmode.se \
--cc=linux-kernel@vger.kernel.org \
--cc=linuxppc-dev@lists.ozlabs.org \
--cc=mpe@ellerman.id.au \
--cc=paulus@samba.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).