Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1170311
| From | Scott Wood <scottwood@freescale.com> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [PATCH 1/2] powerpc32: checksum_wrappers_64 becomes checksum_wrappers |
| Date | 2015-06-23 02:40 +0200 |
| Message-ID | <pEkpQ-3gZ-13@gated-at.bofh.it> (permalink) |
| References | <pEdol-1t5-7@gated-at.bofh.it> <pEdol-1t5-5@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
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 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in Please read the FAQ at http://www.tux.org/lkml/
Back to linux.kernel | Previous | Next | Find similar | Unroll thread
Re: [PATCH 1/2] powerpc32: checksum_wrappers_64 becomes checksum_wrappers Scott Wood <scottwood@freescale.com> - 2015-06-23 02:40 +0200
csiph-web