mirror of
https://github.com/FEX-Emu/linux.git
synced 2024-12-22 09:22:37 +00:00
4f41c2b456
There are only two uaccess variants on s390 left: the version that is used if the mvcos instruction is available, and the page table walk variant. So there is no need for expensive indirect function calls. By default the mvcos variant will be called. If the mvcos instruction is not available it will call the page table walk variant. For minimal performance impact the "if (mvcos_is_available)" is implemented with a jump label, which will be a six byte nop on machines with mvcos. Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com> Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
9 lines
232 B
Makefile
9 lines
232 B
Makefile
#
|
|
# Makefile for s390-specific library files..
|
|
#
|
|
|
|
lib-y += delay.o string.o uaccess_pt.o uaccess_mvcos.o find.o
|
|
obj-$(CONFIG_32BIT) += div64.o qrnnd.o ucmpdi2.o mem32.o
|
|
obj-$(CONFIG_64BIT) += mem64.o
|
|
lib-$(CONFIG_SMP) += spinlock.o
|