s390/switch_to: fix save_access_regs() / restore_access_regs()
authorHeiko Carstens <heiko.carstens@de.ibm.com>
Tue, 20 Aug 2013 08:24:12 +0000 (10:24 +0200)
committerMartin Schwidefsky <schwidefsky@de.ibm.com>
Thu, 22 Aug 2013 10:20:11 +0000 (12:20 +0200)
commitbee5c2863ef807fa50bbdf8b2bae887c54a97083
treebb8788f99e8260fe627cb324e0974791b15e6383
parent02aff3aa1772c63d82e1f160d7b60db1f9649f43
s390/switch_to: fix save_access_regs() / restore_access_regs()

Fix broken contraints for both save_access_regs() and restore_access_regs().
The constraints are incorrect since they tell the compiler that the inline
assemblies only access the first element of an array of 16 elements.
Therefore the compiler could generate incorrect code.

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