Skip to content

Commit 71528d8

Browse files
justdoitqdmpe
authored andcommitted
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>
1 parent 01d7c2a commit 71528d8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

arch/powerpc/include/asm/processor.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -246,7 +246,7 @@ struct thread_struct {
246246
#endif /* CONFIG_ALTIVEC */
247247
#ifdef CONFIG_VSX
248248
/* VSR status */
249-
int used_vsr; /* set if process has used altivec */
249+
int used_vsr; /* set if process has used VSX */
250250
#endif /* CONFIG_VSX */
251251
#ifdef CONFIG_SPE
252252
unsigned long evr[32]; /* upper 32-bits of SPE regs */

0 commit comments

Comments
 (0)