mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-12-22 10:34:55 +08:00
0cc2dc4902
execmem does not depend on modules, on the contrary modules use execmem. To make execmem available when CONFIG_MODULES=n, for instance for kprobes, split execmem_params initialization out from arch/*/kernel/module.c and compile it when CONFIG_EXECMEM=y Signed-off-by: Mike Rapoport (IBM) <rppt@kernel.org> Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org> Signed-off-by: Luis Chamberlain <mcgrof@kernel.org>
19 lines
562 B
Makefile
19 lines
562 B
Makefile
# SPDX-License-Identifier: GPL-2.0
|
|
# Makefile for the linux Sparc-specific parts of the memory manager.
|
|
#
|
|
|
|
asflags-y := -ansi
|
|
|
|
obj-$(CONFIG_SPARC64) += ultra.o tlb.o tsb.o
|
|
obj-y += fault_$(BITS).o
|
|
obj-y += init_$(BITS).o
|
|
obj-$(CONFIG_SPARC32) += srmmu.o iommu.o io-unit.o
|
|
obj-$(CONFIG_SPARC32) += srmmu_access.o
|
|
obj-$(CONFIG_SPARC32) += hypersparc.o viking.o tsunami.o swift.o
|
|
obj-$(CONFIG_SPARC32) += leon_mm.o
|
|
|
|
# Only used by sparc64
|
|
obj-$(CONFIG_HUGETLB_PAGE) += hugetlbpage.o
|
|
|
|
obj-$(CONFIG_EXECMEM) += execmem.o
|