]> git.baikalelectronics.ru Git - kernel.git/commit
[S390] switch_to: dont restore/save access & fpu regs for kernel threads
authorHeiko Carstens <heiko.carstens@de.ibm.com>
Mon, 25 Oct 2010 14:10:18 +0000 (16:10 +0200)
committerMartin Schwidefsky <sky@mschwide.boeblingen.de.ibm.com>
Mon, 25 Oct 2010 14:10:16 +0000 (16:10 +0200)
commitf4312892e1aa0882295de8287b13c5fdbd61c63c
treea23343d98f472fb1fe8a2a4c8f86d269b64945bc
parent1500284aa4e80d3629b374ac19f4e797c13d96d6
[S390] switch_to: dont restore/save access & fpu regs for kernel threads

If the previous task was a kernel thread there is no need to save the
contents of the fpu and access registers since they aren't used in
kernel mode.
For the same reason it is not necessary to restore these registers if
the next task is a kernel thread.

Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
arch/s390/include/asm/system.h