Skip to content

Commit f7c2778

Browse files
committed
[MIPS] Change libgcc-style functions from lib-y to obj-y
Reported by Eugene Surovegin <ebs@ebshome.net>. If only modules were users of these functions they did not get linked into the kernel proper, so later module loads would fail as well. Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
1 parent c3e838a commit f7c2778

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎arch/mips/lib/Makefile‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,4 +9,4 @@ obj-y += iomap.o
99
obj-$(CONFIG_PCI) += iomap-pci.o
1010

1111
# libgcc-style stuff needed in the kernel
12-
lib-y += ashldi3.o ashrdi3.o lshrdi3.o ucmpdi2.o
12+
obj-y += ashldi3.o ashrdi3.o lshrdi3.o ucmpdi2.o

0 commit comments

Comments
 (0)