lists.openwall.net | lists / announce owl-users owl-dev john-users john-dev passwdqc-users yescrypt popa3d-users / oss-security kernel-hardening musl sabotage tlsify passwords / crypt-dev xvendor / Bugtraq Full-Disclosure linux-kernel linux-netdev linux-ext4 linux-hardening linux-cve-announce PHC | |
Open Source and information security mailing list archives
| ||
|
Message-ID: <A01B1440514C416E+20240906082254.435410-3-wangyuli@uniontech.com> Date: Fri, 6 Sep 2024 16:22:38 +0800 From: WangYuli <wangyuli@...ontech.com> To: stable@...r.kernel.org, gregkh@...uxfoundation.org, sashal@...nel.org, alexghiti@...osinc.com, palmer@...osinc.com, wangyuli@...ontech.com Cc: paul.walmsley@...ive.com, palmer@...belt.com, aou@...s.berkeley.edu, anup@...infault.org, linux-riscv@...ts.infradead.org, linux-kernel@...r.kernel.org, rdunlap@...radead.org, dvlachos@....forth.gr, bhe@...hat.com, samuel.holland@...ive.com, guoren@...nel.org, linux@...linux.org.uk, linux-arm-kernel@...ts.infradead.org, willy@...radead.org, akpm@...ux-foundation.org, fengwei.yin@...el.com, prabhakar.mahadev-lad.rj@...renesas.com, conor.dooley@...rochip.com, glider@...gle.com, elver@...gle.com, dvyukov@...gle.com, kasan-dev@...glegroups.com, ardb@...nel.org, linux-efi@...r.kernel.org, atishp@...shpatra.org, kvm@...r.kernel.org, kvm-riscv@...ts.infradead.org, qiaozhe@...as.ac.cn, ryan.roberts@....com, ryabinin.a.a@...il.com, andreyknvl@...il.com, vincenzo.frascino@....com, namcao@...utronix.de Subject: [PATCH 6.6 3/4] riscv: mm: Only compile pgtable.c if MMU From: Alexandre Ghiti <alexghiti@...osinc.com> [ Upstream commit d6508999d1882ddd0db8b3b4bd7967d83e9909fa ] All functions defined in there depend on MMU, so no need to compile it for !MMU configs. Signed-off-by: Alexandre Ghiti <alexghiti@...osinc.com> Link: https://lore.kernel.org/r/20231213203001.179237-4-alexghiti@rivosinc.com Signed-off-by: Palmer Dabbelt <palmer@...osinc.com> Signed-off-by: WangYuli <wangyuli@...ontech.com> --- arch/riscv/mm/Makefile | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/arch/riscv/mm/Makefile b/arch/riscv/mm/Makefile index 3a4dfc8babcf..2c869f8026a8 100644 --- a/arch/riscv/mm/Makefile +++ b/arch/riscv/mm/Makefile @@ -13,10 +13,9 @@ endif KCOV_INSTRUMENT_init.o := n obj-y += init.o -obj-$(CONFIG_MMU) += extable.o fault.o pageattr.o +obj-$(CONFIG_MMU) += extable.o fault.o pageattr.o pgtable.o obj-y += cacheflush.o obj-y += context.o -obj-y += pgtable.o obj-y += pmem.o ifeq ($(CONFIG_MMU),y) -- 2.43.4
Powered by blists - more mailing lists