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


Groups > linux.kernel > #1495707 > unrolled thread

[PATCH] powerpc: process.c: fix Kconfig typo

Started byValentin Rothberg <valentinrothberg@gmail.com>
First post2016-10-05 08:00 +0200
Last post2016-10-06 01:00 +0200
Articles 2 — 2 participants

Back to article view | Back to linux.kernel


Contents

  [PATCH] powerpc: process.c: fix Kconfig typo Valentin Rothberg <valentinrothberg@gmail.com> - 2016-10-05 08:00 +0200
    Re: [PATCH] powerpc: process.c: fix Kconfig typo Cyril Bur <cyrilbur@gmail.com> - 2016-10-06 01:00 +0200

#1495707 — [PATCH] powerpc: process.c: fix Kconfig typo

FromValentin Rothberg <valentinrothberg@gmail.com>
Date2016-10-05 08:00 +0200
Subject[PATCH] powerpc: process.c: fix Kconfig typo
Message-ID<soNpf-4Xa-3@gated-at.bofh.it>
s/ALIVEC/ALTIVEC/

Signed-off-by: Valentin Rothberg <valentinrothberg@gmail.com>
---
 arch/powerpc/kernel/process.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/powerpc/kernel/process.c b/arch/powerpc/kernel/process.c
index 9e7c10fe205f..ce6dc61b15b2 100644
--- a/arch/powerpc/kernel/process.c
+++ b/arch/powerpc/kernel/process.c
@@ -1012,7 +1012,7 @@ void restore_tm_state(struct pt_regs *regs)
 	/* Ensure that restore_math() will restore */
 	if (msr_diff & MSR_FP)
 		current->thread.load_fp = 1;
-#ifdef CONFIG_ALIVEC
+#ifdef CONFIG_ALTIVEC
 	if (cpu_has_feature(CPU_FTR_ALTIVEC) && msr_diff & MSR_VEC)
 		current->thread.load_vec = 1;
 #endif
-- 
2.9.3

[toc] | [next] | [standalone]


#1496112

FromCyril Bur <cyrilbur@gmail.com>
Date2016-10-06 01:00 +0200
Message-ID<sp3kl-8nD-3@gated-at.bofh.it>
In reply to#1495707
On Wed, 2016-10-05 at 07:57 +0200, Valentin Rothberg wrote:
> s/ALIVEC/ALTIVEC/
> 

Oops, nice catch

> Signed-off-by: Valentin Rothberg <valentinrothberg@gmail.com>

Reviewed-by: Cyril Bur <cyrilbur@gmail.com>

> ---
>  arch/powerpc/kernel/process.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/arch/powerpc/kernel/process.c
> b/arch/powerpc/kernel/process.c
> index 9e7c10fe205f..ce6dc61b15b2 100644
> --- a/arch/powerpc/kernel/process.c
> +++ b/arch/powerpc/kernel/process.c
> @@ -1012,7 +1012,7 @@ void restore_tm_state(struct pt_regs *regs)
>  	/* Ensure that restore_math() will restore */
>  	if (msr_diff & MSR_FP)
>  		current->thread.load_fp = 1;
> -#ifdef CONFIG_ALIVEC
> +#ifdef CONFIG_ALTIVEC
>  	if (cpu_has_feature(CPU_FTR_ALTIVEC) && msr_diff & MSR_VEC)
>  		current->thread.load_vec = 1;
>  #endif

[toc] | [prev] | [standalone]


Back to top | Article view | linux.kernel


csiph-web