mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-17 15:47:39 +07:00
740129b36f
The commit b35cd9884f
("lib: Add shared copies of some GCC library
routines") makes it possible to share generic GCC library routines by
several architectures.
This commit removes several generic GCC library routines from
arch/mips/lib/ in favour of similar routines from lib/.
Signed-off-by: Antony Pavlov <antonynpavlov@gmail.com>
[Matt Redfearn] Use GENERIC_LIB_* named Kconfig entries
Signed-off-by: Matt Redfearn <matt.redfearn@mips.com>
Cc: Palmer Dabbelt <palmer@sifive.com>
Cc: Ralf Baechle <ralf@linux-mips.org>
Cc: linux-mips@linux-mips.org
Patchwork: https://patchwork.linux-mips.org/patch/19051/
Signed-off-by: James Hogan <jhogan@kernel.org>
20 lines
563 B
Makefile
20 lines
563 B
Makefile
# SPDX-License-Identifier: GPL-2.0
|
|
#
|
|
# Makefile for MIPS-specific library files..
|
|
#
|
|
|
|
lib-y += bitops.o csum_partial.o delay.o memcpy.o memset.o \
|
|
mips-atomic.o strncpy_user.o \
|
|
strnlen_user.o uncached.o
|
|
|
|
obj-y += iomap.o iomap_copy.o
|
|
obj-$(CONFIG_PCI) += iomap-pci.o
|
|
lib-$(CONFIG_GENERIC_CSUM) := $(filter-out csum_partial.o, $(lib-y))
|
|
|
|
obj-$(CONFIG_CPU_GENERIC_DUMP_TLB) += dump_tlb.o
|
|
obj-$(CONFIG_CPU_R3000) += r3k_dump_tlb.o
|
|
obj-$(CONFIG_CPU_TX39XX) += r3k_dump_tlb.o
|
|
|
|
# libgcc-style stuff needed in the kernel
|
|
obj-y += bswapsi.o bswapdi.o multi3.o
|