Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752857AbcCYIem (ORCPT ); Fri, 25 Mar 2016 04:34:42 -0400 Received: from mail-pa0-f67.google.com ([209.85.220.67]:34175 "EHLO mail-pa0-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752570AbcCYIei (ORCPT ); Fri, 25 Mar 2016 04:34:38 -0400 Date: Fri, 25 Mar 2016 01:12:21 +0800 From: Simon Guo To: Michael Ellerman Cc: Benjamin Herrenschmidt , Paul Mackerras , Anton Blanchard , Anshuman Khandual , Michael Neuling , simonguo@linux.vnet.ibm.com, Simon Guo , linuxppc-dev@lists.ozlabs.org, linux-kernel@vger.kernel.org Subject: [PATCH] powerpc: correct VSX used_vsr comment Message-ID: <20160324171221.GB10758@simonLocalRHEL7.x64> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.21 (2010-09-15) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 808 Lines: 24 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 --- 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