Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

[S390] uaccess: make sure copy_from_user_overflow is builtin

If there is no in kernel image caller modules will suffer:

ERROR: "copy_from_user_overflow" [net/core/pktgen.ko] undefined!
ERROR: "copy_from_user_overflow" [net/can/can-raw.ko] undefined!
ERROR: "copy_from_user_overflow" [fs/cifs/cifs.ko] undefined!

Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>

authored by

Heiko Carstens and committed by
Martin Schwidefsky
596a95cd 25cf84cf

+2 -1
+2 -1
arch/s390/lib/Makefile
··· 2 2 # Makefile for s390-specific library files.. 3 3 # 4 4 5 - lib-y += delay.o string.o uaccess_std.o uaccess_pt.o usercopy.o 5 + lib-y += delay.o string.o uaccess_std.o uaccess_pt.o 6 + obj-y += usercopy.o 6 7 obj-$(CONFIG_32BIT) += div64.o qrnnd.o ucmpdi2.o 7 8 lib-$(CONFIG_64BIT) += uaccess_mvcos.o 8 9 lib-$(CONFIG_SMP) += spinlock.o