mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-12-05 01:54:09 +08:00
91ec66719d
Avoids the #ifdef in mmu.c Signed-off-by: Christophe Leroy <christophe.leroy@csgroup.eu> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au> Link: https://lore.kernel.org/r/0b7a13d414837e58264edc336b89c2fe9f35f9bc.1622708530.git.christophe.leroy@csgroup.eu
14 lines
324 B
Makefile
14 lines
324 B
Makefile
# SPDX-License-Identifier: GPL-2.0
|
|
|
|
KASAN_SANITIZE_mmu.o := n
|
|
|
|
ifdef CONFIG_KASAN
|
|
CFLAGS_mmu.o += -DDISABLE_BRANCH_PROFILING
|
|
endif
|
|
|
|
obj-y += mmu.o mmu_context.o
|
|
obj-$(CONFIG_PPC_BOOK3S_603) += nohash_low.o
|
|
obj-$(CONFIG_PPC_BOOK3S_604) += hash_low.o tlb.o
|
|
obj-$(CONFIG_PPC_KUEP) += kuep.o
|
|
obj-$(CONFIG_PPC_KUAP) += kuap.o
|