* [PATCH] powerpc: correct VSX used_vsr comment
@ 2016-03-24 17:12 Simon Guo
2016-03-30 23:29 ` Michael Ellerman
0 siblings, 1 reply; 2+ messages in thread
From: Simon Guo @ 2016-03-24 17:12 UTC (permalink / raw)
To: Michael Ellerman
Cc: Benjamin Herrenschmidt, Paul Mackerras, Anton Blanchard,
Anshuman Khandual, Michael Neuling, simonguo, Simon Guo,
linuxppc-dev, linux-kernel
used_vsr flag is set if process has used VSX register,
instead of Altivec register.
This patch corrects the wrong comment.
Signed-off-by: Simon Guo <wei.guo.simon@gmail.com>
---
arch/powerpc/include/asm/processor.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/powerpc/include/asm/processor.h b/arch/powerpc/include/asm/processor.h
index ac23308..a3a25e4 100644
--- a/arch/powerpc/include/asm/processor.h
+++ b/arch/powerpc/include/asm/processor.h
@@ -244,7 +244,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 */
--
1.8.3.1
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: powerpc: correct VSX used_vsr comment
2016-03-24 17:12 [PATCH] powerpc: correct VSX used_vsr comment Simon Guo
@ 2016-03-30 23:29 ` Michael Ellerman
0 siblings, 0 replies; 2+ messages in thread
From: Michael Ellerman @ 2016-03-30 23:29 UTC (permalink / raw)
To: Simon Guo
Cc: Michael Neuling, Simon Guo, linux-kernel, simonguo,
Paul Mackerras, Anton Blanchard, linuxppc-dev, Anshuman Khandual
On Thu, 2016-24-03 at 17:12:21 UTC, Simon Guo wrote:
> used_vsr flag is set if process has used VSX register,
> instead of Altivec register.
> This patch corrects the wrong comment.
>
> Signed-off-by: Simon Guo <wei.guo.simon@gmail.com>
Applied to powerpc fixes, thanks.
https://git.kernel.org/powerpc/c/71528d8bd7a8aa920cd69d4223
cheers
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2016-03-30 23:29 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-03-24 17:12 [PATCH] powerpc: correct VSX used_vsr comment Simon Guo
2016-03-30 23:29 ` Michael Ellerman
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®