]> git.hungrycats.org Git - linux/commitdiff
[ARM PATCH] 1842/1: fix/clarify some comments
authorNicolas Pitre <nico@org.rmk.(none)>
Thu, 13 May 2004 13:43:02 +0000 (14:43 +0100)
committerRussell King <rmk@flint.arm.linux.org.uk>
Thu, 13 May 2004 13:43:02 +0000 (14:43 +0100)
Patch from Nicolas Pitre

arch/arm/kernel/entry-armv.S
include/asm-arm/thread_info.h

index 2e85a99447359406251d38e3ce64d162dc4d8fe2..4b5c28a5d573348868aa2bd9e7e628d82048a184 100644 (file)
@@ -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)
index ab1a6f4d6593563fabede4571755a55ec757cd86..f67431fdd9319936b39374f6d479f3984764288f 100644 (file)
@@ -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 */