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>
This commit is contained in:
Simon Guo 2016-03-25 01:12:21 +08:00 коммит произвёл Michael Ellerman
Родитель 01d7c2a2de
Коммит 71528d8bd7
1 изменённых файлов: 1 добавлений и 1 удалений

Просмотреть файл

@ -246,7 +246,7 @@ struct thread_struct {
#endif /* CONFIG_ALTIVEC */ #endif /* CONFIG_ALTIVEC */
#ifdef CONFIG_VSX #ifdef CONFIG_VSX
/* VSR status */ /* VSR status */
int used_vsr; /* set if process has used altivec */ int used_vsr; /* set if process has used VSX */
#endif /* CONFIG_VSX */ #endif /* CONFIG_VSX */
#ifdef CONFIG_SPE #ifdef CONFIG_SPE
unsigned long evr[32]; /* upper 32-bits of SPE regs */ unsigned long evr[32]; /* upper 32-bits of SPE regs */