x86: clean up switch_to()
authorIngo Molnar <mingo@elte.hu>
Wed, 5 Mar 2008 09:24:37 +0000 (10:24 +0100)
committerIngo Molnar <mingo@elte.hu>
Thu, 17 Apr 2008 15:40:52 +0000 (17:40 +0200)
commit23b55bd9f33a1812a664e548803db34c9bec56e8
tree0559906e87b50567941f983560017671de13f9b3
parentecd94c0809eb0ff50b628fa061c531a6fbf2fbbc
x86: clean up switch_to()

Make the code more readable and more hackable:

 - use symbolic asm parameters
 - use readable indentation
 - add comments that explains the details

No code changed:

kernel/sched.o:

   text    data     bss     dec     hex filename
  28626     684    2640   31950    7cce sched.o.before
  28626     684    2640   31950    7cce sched.o.after

md5:
   2823d406c18b781975cdb2e7cfea0059  sched.o.before.asm
   2823d406c18b781975cdb2e7cfea0059  sched.o.after.asm

Signed-off-by: Ingo Molnar <mingo@elte.hu>
include/asm-x86/system.h