[PATCH] powerpc: correct VSX used_vsr comment

Subsystems: linux for powerpc (32-bit and 64-bit), the rest

STALE3782d

2 messages, 2 authors, 2016-03-30 · open the first message on its own page

[PATCH] powerpc: correct VSX used_vsr comment

From: Simon Guo <hidden>
Date: 2016-03-25 08:34:42

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 <redacted>
---
 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

Re: powerpc: correct VSX used_vsr comment

From: Michael Ellerman <mpe@ellerman.id.au>
Date: 2016-03-30 23:29:48

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 <redacted>
Applied to powerpc fixes, thanks.

https://git.kernel.org/powerpc/c/71528d8bd7a8aa920cd69d4223

cheers
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help