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

Oops, nice catch

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

Reviewed-by: Cyril Bur <cyril...@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

Reply via email to