From: Simon Guo Date: Thu, 24 Mar 2016 17:12:21 +0000 (+0800) Subject: powerpc: Correct used_vsr comment X-Git-Tag: v4.6-rc2~18^2 X-Git-Url: http://git.cascardo.info/?a=commitdiff_plain;h=71528d8bd7a8aa920cd69d4223c6c87d5849257d;p=cascardo%2Flinux.git powerpc: Correct used_vsr comment The used_vsr flag is set if process has used VSX registers, not Altivec registers. But the comment says otherwise, correct the comment. Signed-off-by: Simon Guo Signed-off-by: Michael Ellerman --- diff --git a/arch/powerpc/include/asm/processor.h b/arch/powerpc/include/asm/processor.h index 8ab8a1a9610a..009fab130cd8 100644 --- a/arch/powerpc/include/asm/processor.h +++ b/arch/powerpc/include/asm/processor.h @@ -246,7 +246,7 @@ struct thread_struct { #endif /* CONFIG_ALTIVEC */ #ifdef CONFIG_VSX /* VSR status */ - int used_vsr; /* set if process has used altivec */ + int used_vsr; /* set if process has used VSX */ #endif /* CONFIG_VSX */ #ifdef CONFIG_SPE unsigned long evr[32]; /* upper 32-bits of SPE regs */