Skip to content

Commit 596a95c

Browse files
heicarstMartin Schwidefsky
authored andcommitted
[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>
1 parent 25cf84c commit 596a95c

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

arch/s390/lib/Makefile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,8 @@
22
# Makefile for s390-specific library files..
33
#
44

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
67
obj-$(CONFIG_32BIT) += div64.o qrnnd.o ucmpdi2.o
78
lib-$(CONFIG_64BIT) += uaccess_mvcos.o
89
lib-$(CONFIG_SMP) += spinlock.o

0 commit comments

Comments
 (0)