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

From: Segher Boessenkool
Date: Thu May 17 2018 - 08:37:42 EST


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@xxxxxx>
> + *
> + */

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


Segher