From e07530d2df38bb9cb81ec55c1b6fb80c6760f0f8 Mon Sep 17 00:00:00 2001 From: Leandro Lupori Date: Fri, 17 Jan 2020 14:43:58 +0000 Subject: [PATCH] [PPC] Fix wrong comment pcb_context[20] holds r12-r31 and not r14-r31, as the comment said. --- sys/powerpc/include/pcb.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/powerpc/include/pcb.h b/sys/powerpc/include/pcb.h index 67c8cacc32a..5e6c1581a12 100644 --- a/sys/powerpc/include/pcb.h +++ b/sys/powerpc/include/pcb.h @@ -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 */