OpenCloudOS-Kernel/arch/s390/kvm
Heiko Carstens 396083a964 s390/kvm,gaccess: shorten put/get_guest code
The put_guest_u*/get_guest_u* are nothing but wrappers for the regular
put_user/get_user uaccess functions. The only difference is that before
accessing user space the guest address must be translated to a user space
address.
Change the order of arguments for the guest access functions so they
match their uaccess parts. Also remove the u* suffix, so we simply
have put_guest/get_guest which will automatically use the right size
dependent on pointer type of the destination/source that now must be
correct.
In result the same behaviour as put_user/get_user except that accesses
must be aligned.

Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>
Acked-by: Christian Borntraeger <borntraeger@de.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Signed-off-by: Christian Borntraeger <borntraeger@de.ibm.com>
Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>
2013-03-07 16:21:21 -03:00
..
Kconfig KVM: s390: Wire up ioeventfd. 2013-03-05 19:12:17 -03:00
Makefile KVM: s390: Wire up ioeventfd. 2013-03-05 19:12:17 -03:00
diag.c KVM: s390: Wire up ioeventfd. 2013-03-05 19:12:17 -03:00
gaccess.h s390/kvm,gaccess: shorten put/get_guest code 2013-03-07 16:21:21 -03:00
intercept.c s390/kvm,gaccess: shorten put/get_guest code 2013-03-07 16:21:21 -03:00
interrupt.c s390/kvm,gaccess: shorten put/get_guest code 2013-03-07 16:21:21 -03:00
kvm-s390.c KVM: s390: Wire up ioeventfd. 2013-03-05 19:12:17 -03:00
kvm-s390.h s390/kvm: Fix instruction decoding 2013-01-30 12:35:59 +02:00
priv.c s390/kvm,gaccess: shorten put/get_guest code 2013-03-07 16:21:21 -03:00
sigp.c KVM: s390: kvm/sigp.c: fix memory leakage 2013-01-17 08:41:48 +02:00
trace-s390.h KVM: s390: Add support for channel I/O instructions. 2013-01-07 19:53:43 -02:00
trace.h KVM: s390: Add architectural trace events 2012-07-26 14:04:34 +03:00