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

From: Cyril Bur
Date: Wed Oct 05 2016 - 18:54:50 EST


On Wed, 2016-10-05 at 07:57 +0200, Valentin Rothberg wrote:
> s/ALIVEC/ALTIVEC/
>

Oops, nice catch

> Signed-off-by: Valentin Rothberg <valentinrothberg@xxxxxxxxx>

Reviewed-by: Cyril Bur <cyrilbur@xxxxxxxxx>

> ---
> Â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