Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1560330 > unrolled thread

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

Started byValentin Rothberg <valentinrothberg@gmail.com>
First post2017-01-17 09:20 +0100
Last post2017-01-17 11:50 +0100
Articles 2 — 2 participants

Back to article view | Back to linux.kernel


Contents

  [PATCH] arch/openrisc/lib/memcpy.c: use correct OR1200 option Valentin Rothberg <valentinrothberg@gmail.com> - 2017-01-17 09:20 +0100
    Re: [PATCH] arch/openrisc/lib/memcpy.c: use correct OR1200 option Stafford Horne <shorne@gmail.com> - 2017-01-17 11:50 +0100

#1560330 — [PATCH] arch/openrisc/lib/memcpy.c: use correct OR1200 option

FromValentin Rothberg <valentinrothberg@gmail.com>
Date2017-01-17 09:20 +0100
Subject[PATCH] arch/openrisc/lib/memcpy.c: use correct OR1200 option
Message-ID<t0x9L-4At-11@gated-at.bofh.it>
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

[toc] | [next] | [standalone]


#1560483

FromStafford Horne <shorne@gmail.com>
Date2017-01-17 11:50 +0100
Message-ID<t0zuW-609-13@gated-at.bofh.it>
In reply to#1560330
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

[toc] | [prev] | [standalone]


Back to top | Article view | linux.kernel


csiph-web