[S390] cpcmd: fix inline assembly usage.
authorHeiko Carstens <heiko.carstens@de.ibm.com>
Fri, 12 Oct 2007 14:11:46 +0000 (16:11 +0200)
committerMartin Schwidefsky <schwidefsky@de.ibm.com>
Fri, 12 Oct 2007 14:13:09 +0000 (16:13 +0200)
commita004fb0c33539ae90f25573505be6a116a76e639
tree791e4b5904ab1b5273dce3c4625664a411388464
parente39394b84156bc0822785e379977fe75a5662aad
[S390] cpcmd: fix inline assembly usage.

After assigning values to specific registers memset was called. This
may clobber the contents of the used registers.
To solve this extract the two used inline assemblies into small
functions that don't call any functions.

Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
arch/s390/kernel/cpcmd.c