Re: [PATCH] arch/openrisc/lib/memcpy.c: use correct OR1200 option

From: Stafford Horne
Date: Tue Jan 17 2017 - 05:42:35 EST


On Tue, Jan 17, 2017 at 09:12:48AM +0100, Valentin Rothberg wrote:
> The Kconfig option for OR12000 is OR1K_1200.
>
> Signed-off-by: Valentin Rothberg <valentinrothberg@xxxxxxxxx>
> ---
> arch/openrisc/lib/memcpy.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/arch/openrisc/lib/memcpy.c b/arch/openrisc/lib/memcpy.c
> index 4706f01a199a..669887a60e27 100644
> --- a/arch/openrisc/lib/memcpy.c
> +++ b/arch/openrisc/lib/memcpy.c
> @@ -17,7 +17,7 @@
>
> #include <linux/string.h>
>
> -#ifdef CONFIG_OR1200
> +#ifdef CONFIG_OR1K_1200
> /*
> * Do memcpy with word copies and loop unrolling. This gives the
> * best performance on the OR1200 and MOR1KX archirectures
> --
> 2.11.0
>

Thank you,

Nice catch, applied.

-Stafford