Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 17 Jan 2020 14:43:58 +0000 (UTC)
From:      Leandro Lupori <luporl@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r356831 - head/sys/powerpc/include
Message-ID:  <202001171443.00HEhwmr066931@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: luporl
Date: Fri Jan 17 14:43:58 2020
New Revision: 356831
URL: https://svnweb.freebsd.org/changeset/base/356831

Log:
  [PPC] Fix wrong comment
  
  pcb_context[20] holds r12-r31 and not r14-r31, as the comment said.

Modified:
  head/sys/powerpc/include/pcb.h

Modified: head/sys/powerpc/include/pcb.h
==============================================================================
--- head/sys/powerpc/include/pcb.h	Fri Jan 17 14:42:25 2020	(r356830)
+++ head/sys/powerpc/include/pcb.h	Fri Jan 17 14:43:58 2020	(r356831)
@@ -41,7 +41,7 @@
 
 #ifndef _STANDALONE
 struct pcb {
-	register_t	pcb_context[20];	/* non-volatile r14-r31 */
+	register_t	pcb_context[20];	/* non-volatile r12-r31 */
 	register_t	pcb_cr;			/* Condition register */
 	register_t	pcb_sp;			/* stack pointer */
 	register_t	pcb_toc;		/* toc pointer */



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202001171443.00HEhwmr066931>