Commit 3639d00e authored by Nicolas Pitre's avatar Nicolas Pitre Committed by Russell King

[ARM PATCH] 1842/1: fix/clarify some comments

Patch from Nicolas Pitre
parent 7852fa90
...@@ -1219,7 +1219,7 @@ ENTRY(ret_from_exception) ...@@ -1219,7 +1219,7 @@ ENTRY(ret_from_exception)
/* /*
* Register switch for ARMv3 and ARMv4 processors * 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. * previous and next are guaranteed not to be the same.
*/ */
ENTRY(__switch_to) ENTRY(__switch_to)
......
...@@ -40,7 +40,7 @@ struct cpu_context_save { ...@@ -40,7 +40,7 @@ struct cpu_context_save {
/* /*
* low level task data that entry.S needs immediate access to. * 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 { struct thread_info {
unsigned long flags; /* low level flags */ unsigned long flags; /* low level flags */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment