s390: optimize control register update
authorMartin Schwidefsky <schwidefsky@de.ibm.com>
Tue, 3 Dec 2013 13:57:18 +0000 (14:57 +0100)
committerMartin Schwidefsky <schwidefsky@de.ibm.com>
Mon, 16 Dec 2013 13:37:45 +0000 (14:37 +0100)
commitc63badebfebacdba827ab1cc1d420fc81bd8d818
tree6bc09659dd889c7d85b09e7d1283cfecf08859a8
parent1c182a628075af7431edb8155601740867b5ae51
s390: optimize control register update

It is less expensive to update control registers 0 and 2 with two
individual stctg/lctlg instructions as with a single one that spans
control register 0, 1 and 2.

Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
arch/s390/kernel/ptrace.c