From 6710e5589d192789fe1e4b5ad7598309d88ebd79 Mon Sep 17 00:00:00 2001 From: Frans Kaashoek Date: Thu, 30 Aug 2018 13:48:47 -0400 Subject: [PATCH] thanks wxdao --- swtch.S | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/swtch.S b/swtch.S index de612bdef6..63a7dcc903 100644 --- a/swtch.S +++ b/swtch.S @@ -11,7 +11,7 @@ swtch: movl 4(%esp), %eax movl 8(%esp), %edx - # Save old callee-save registers + # Save old callee-saved registers pushl %ebp pushl %ebx pushl %esi @@ -21,7 +21,7 @@ swtch: movl %esp, (%eax) movl %edx, %esp - # Load new callee-save registers + # Load new callee-saved registers popl %edi popl %esi popl %ebx