mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-12-19 17:14:40 +08:00
59f35d53fd
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>
11 lines
235 B
Makefile
11 lines
235 B
Makefile
#
|
|
# Makefile for s390-specific library files..
|
|
#
|
|
|
|
EXTRA_AFLAGS := -traditional
|
|
|
|
lib-y += delay.o string.o uaccess_std.o uaccess_pt.o
|
|
lib-$(CONFIG_32BIT) += div64.o
|
|
lib-$(CONFIG_64BIT) += uaccess_mvcos.o
|
|
lib-$(CONFIG_SMP) += spinlock.o
|