s390/uaccess: provide inline variants of get_user/put_user
authorHeiko Carstens <heiko.carstens@de.ibm.com>
Thu, 17 Apr 2014 12:16:03 +0000 (14:16 +0200)
committerMartin Schwidefsky <schwidefsky@de.ibm.com>
Tue, 20 May 2014 06:58:50 +0000 (08:58 +0200)
commitc9ca78415ac1cbb0e9846111d5f01376266cf6f3
treee664bb4d8bdabcc0dd65732b6741d21260760dba
parentac4995b9d5705f10a69ea74d440e3943db41f2ca
s390/uaccess: provide inline variants of get_user/put_user

This shortens the code by ~17k (performace_defconfig, march=z196).
The number of exception table entries however increases from 164
entries to 2500 entries (+~18k).
However the executed code is shorter and also faster since we save
the branches to the out-of-line copy_to/from_user implementations.

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