+1
−1
arch/s390/lib/uaccess_pt.c
0 → 100644
+153
−0
+15
−52
Loading
Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more
Use a wrapper for copy_to/from_user to chose the best usercopy method. The mvcos instruction is better for sizes greater than 256 bytes, if mvcos is not available a page table walk is better for sizes greater than 1024 bytes. Also removed the redundant copy_to/from_user_std_small functions. Signed-off-by:Gerald Schaefer <geraldsc@de.ibm.com> Signed-off-by:
Martin Schwidefsky <schwidefsky@de.ibm.com>