From 3639d00e1ebac5ff3bece67b99e2e3430c8b030a Mon Sep 17 00:00:00 2001 From: Nicolas Pitre Date: Thu, 13 May 2004 14:43:02 +0100 Subject: [PATCH] [ARM PATCH] 1842/1: fix/clarify some comments Patch from Nicolas Pitre --- arch/arm/kernel/entry-armv.S | 2 +- include/asm-arm/thread_info.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/arm/kernel/entry-armv.S b/arch/arm/kernel/entry-armv.S index 2e85a99447359..4b5c28a5d5733 100644 --- a/arch/arm/kernel/entry-armv.S +++ b/arch/arm/kernel/entry-armv.S @@ -1219,7 +1219,7 @@ ENTRY(ret_from_exception) /* * Register switch for ARMv3 and ARMv4 processors - * r0 = previous thread_info, r1 = next thread_info + * r0 = previous task_struct, r1 = previous thread_info, r2 = next thread_info * previous and next are guaranteed not to be the same. */ ENTRY(__switch_to) diff --git a/include/asm-arm/thread_info.h b/include/asm-arm/thread_info.h index ab1a6f4d65935..f67431fdd9319 100644 --- a/include/asm-arm/thread_info.h +++ b/include/asm-arm/thread_info.h @@ -40,7 +40,7 @@ struct cpu_context_save { /* * low level task data that entry.S needs immediate access to. - * We assume cpu_context follows immedately after cpu_domain. + * __switch_to() assumes cpu_context follows immediately after cpu_domain. */ struct thread_info { unsigned long flags; /* low level flags */ -- 2.53.0