diff options
author | Simon Guo <wei.guo.simon@gmail.com> | 2016-03-24 13:12:21 -0400 |
---|---|---|
committer | Michael Ellerman <mpe@ellerman.id.au> | 2016-03-28 21:08:08 -0400 |
commit | 71528d8bd7a8aa920cd69d4223c6c87d5849257d (patch) | |
tree | 15ec3e00dfe6b337c8cb82f2799e884809846ca1 | |
parent | 01d7c2a2de47890934faba91a71d183795e4348d (diff) |
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>
-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 { | |||
246 | #endif /* CONFIG_ALTIVEC */ | 246 | #endif /* CONFIG_ALTIVEC */ |
247 | #ifdef CONFIG_VSX | 247 | #ifdef CONFIG_VSX |
248 | /* VSR status */ | 248 | /* VSR status */ |
249 | int used_vsr; /* set if process has used altivec */ | 249 | int used_vsr; /* set if process has used VSX */ |
250 | #endif /* CONFIG_VSX */ | 250 | #endif /* CONFIG_VSX */ |
251 | #ifdef CONFIG_SPE | 251 | #ifdef CONFIG_SPE |
252 | unsigned long evr[32]; /* upper 32-bits of SPE regs */ | 252 | unsigned long evr[32]; /* upper 32-bits of SPE regs */ |