[PATCH v2 1/5] powerpc/lib: move PPC32 specific functions out of string.S

Segher Boessenkool segher at kernel.crashing.org
Thu May 17 23:33:53 AEST 2018


On Thu, May 17, 2018 at 12:49:50PM +0200, Christophe Leroy wrote:
> In preparation of optimisation patches, move PPC32 specific
> memcmp() and __clear_user() into string_32.S

> --- /dev/null
> +++ b/arch/powerpc/lib/string_32.S
> @@ -0,0 +1,74 @@
> +// SPDX-License-Identifier: GPL-2.0
> +
> +/*
> + * String handling functions for PowerPC32
> + *
> + * Copyright (C) 2018 CS Systemes d'Information
> + *
> + * Author: Christophe Leroy <christophe.leroy at c-s.fr>
> + *
> + */

That is wrong; that code is a plain copy, from 1996 already.


Segher


More information about the Linuxppc-dev mailing list