diff options
author | Simon Guo <wei.guo.simon@gmail.com> | 2016-03-25 01:12:21 +0800 |
---|---|---|
committer | Michael Ellerman <mpe@ellerman.id.au> | 2016-03-29 12:08:08 +1100 |
commit | 71528d8bd7a8aa920cd69d4223c6c87d5849257d (patch) | |
tree | 15ec3e00dfe6b337c8cb82f2799e884809846ca1 /arch | |
parent | 01d7c2a2de47890934faba91a71d183795e4348d (diff) | |
download | linux-71528d8bd7a8aa920cd69d4223c6c87d5849257d.tar.gz linux-71528d8bd7a8aa920cd69d4223c6c87d5849257d.tar.bz2 linux-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.h | 2 |
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 */ |