]> git.karo-electronics.de Git - karo-tx-linux.git/commit
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>
Tue, 20 Aug 2013 10:36:37 +0000 (12:36 +0200)
commited6c2219052d8909cd42fe0b1422f1fea5184935
tree77562e762b86e6d67c666093d4ce91e8c8d0d762
parentb01b300f6a8c9496eb362eeff90c62df7697359c
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