s390/uaccess: normalize order of parameters of indirect uaccess function calls
authorHeiko Carstens <heiko.carstens@de.ibm.com>
Wed, 22 Jan 2014 13:49:30 +0000 (14:49 +0100)
committerMartin Schwidefsky <schwidefsky@de.ibm.com>
Fri, 21 Feb 2014 07:50:13 +0000 (08:50 +0100)
commitcfa785e623577cdad2aa721acb23bd3a95eced9a
tree30fcb9b2f2153f08f66dd27b0a51a64b657b7717
parent137a14f434705a366cc94b2b32f2488c975863ad
s390/uaccess: normalize order of parameters of indirect uaccess function calls

For some unknown reason the indirect uaccess functions on s390 implement a
different parameter order than what is usual.

e.g.:

unsigned long copy_to_user(void *to, const void *from, unsigned long n);
vs.
size_t (*copy_to_user)(size_t n, void __user * to, const void *from);

Let's get rid of this confusing parameter reordering.

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