]> git.baikalelectronics.ru Git - kernel.git/commit
KVM: s390: rework code that sets the prefix
authorChristian Borntraeger <borntraeger@de.ibm.com>
Wed, 11 Jan 2012 10:19:32 +0000 (11:19 +0100)
committerAvi Kivity <avi@redhat.com>
Mon, 5 Mar 2012 12:52:21 +0000 (14:52 +0200)
commit59c8da3d94c25302d0d2c23cda06bc08903f178e
tree90aae47b22f248740f8802f2fdc6e28bdca0341b
parent58aaa1a3248f4b70bd782b12973dcffe8f0e83f9
KVM: s390: rework code that sets the prefix

There are several places in the kvm module, which set the prefix register.
Since we need to flush the cpu, lets combine this operation into a helper
function. This helper will also explicitely mask out the unused bits.

Signed-off-by: Christian Borntraeger <borntraeger@de.ibm.com>
Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>
Signed-off-by: Avi Kivity <avi@redhat.com>
arch/s390/kvm/interrupt.c
arch/s390/kvm/kvm-s390.c
arch/s390/kvm/kvm-s390.h
arch/s390/kvm/priv.c