mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] arch/openrisc/lib/memcpy.c: use correct OR1200 option
@ 2017-01-17  8:12 Valentin Rothberg
  2017-01-17 10:40 ` Stafford Horne
  0 siblings, 1 reply; 2+ messages in thread
From: Valentin Rothberg @ 2017-01-17  8:12 UTC (permalink / raw)
  To: shorne
  Cc: stefan.kristiansson, jonas, openrisc, linux-kernel, Valentin Rothberg

The Kconfig option for OR12000 is OR1K_1200.

Signed-off-by: Valentin Rothberg <valentinrothberg@gmail.com>
---
 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

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PATCH] arch/openrisc/lib/memcpy.c: use correct OR1200 option
  2017-01-17  8:12 [PATCH] arch/openrisc/lib/memcpy.c: use correct OR1200 option Valentin Rothberg
@ 2017-01-17 10:40 ` Stafford Horne
  0 siblings, 0 replies; 2+ messages in thread
From: Stafford Horne @ 2017-01-17 10:40 UTC (permalink / raw)
  To: Valentin Rothberg; +Cc: stefan.kristiansson, jonas, openrisc, linux-kernel

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@gmail.com>
> ---
>  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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2017-01-17 10:42 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-01-17  8:12 [PATCH] arch/openrisc/lib/memcpy.c: use correct OR1200 option Valentin Rothberg
2017-01-17 10:40 ` Stafford Horne

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

Powered by JetHome