aboutsummaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorSimon Guo <wei.guo.simon@gmail.com>2016-03-25 01:12:21 +0800
committerMichael Ellerman <mpe@ellerman.id.au>2016-03-29 12:08:08 +1100
commit71528d8bd7a8aa920cd69d4223c6c87d5849257d (patch)
tree15ec3e00dfe6b337c8cb82f2799e884809846ca1 /arch
parentpowerpc/process: Fix altivec SPR not being saved (diff)
downloadlinux-dev-71528d8bd7a8aa920cd69d4223c6c87d5849257d.tar.xz
linux-dev-71528d8bd7a8aa920cd69d4223c6c87d5849257d.zip
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 <wei.guo.simon@gmail.com> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Diffstat (limited to 'arch')
-rw-r--r--arch/powerpc/include/asm/processor.h2
1 files changed, 1 insertions, 1 deletions
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 */