svn commit: r356831 - head/sys/powerpc/include

Leandro Lupori luporl at FreeBSD.org
Fri Jan 17 14:43:58 UTC 2020


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 */


More information about the svn-src-all mailing list