Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1364598 > unrolled thread

[PATCH] powerpc: correct VSX used_vsr comment

Started bySimon Guo <wei.guo.simon@gmail.com>
First post2016-03-25 09:40 +0100
Last post2016-03-31 01:30 +0200
Articles 2 — 2 participants

Back to article view | Back to linux.kernel


Contents

  [PATCH] powerpc: correct VSX used_vsr comment Simon Guo <wei.guo.simon@gmail.com> - 2016-03-25 09:40 +0100
    Re: powerpc: correct VSX used_vsr comment Michael Ellerman <mpe@ellerman.id.au> - 2016-03-31 01:30 +0200

#1364598 — [PATCH] powerpc: correct VSX used_vsr comment

FromSimon Guo <wei.guo.simon@gmail.com>
Date2016-03-25 09:40 +0100
Subject[PATCH] powerpc: correct VSX used_vsr comment
Message-ID<rgvrI-7tD-11@gated-at.bofh.it>
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

[toc] | [next] | [standalone]


#1367664 — Re: powerpc: correct VSX used_vsr comment

FromMichael Ellerman <mpe@ellerman.id.au>
Date2016-03-31 01:30 +0200
SubjectRe: powerpc: correct VSX used_vsr comment
Message-ID<rixIK-4bU-5@gated-at.bofh.it>
In reply to#1364598
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

[toc] | [prev] | [standalone]


Back to top | Article view | linux.kernel


csiph-web