]> www.infradead.org Git - users/jedix/linux-maple.git/commitdiff
riscv: Remove duplicate CONFIG_PAGE_OFFSET definition
authorSamuel Holland <samuel.holland@sifive.com>
Sat, 26 Oct 2024 17:13:53 +0000 (10:13 -0700)
committerPalmer Dabbelt <palmer@rivosinc.com>
Wed, 26 Mar 2025 22:56:38 +0000 (15:56 -0700)
This definition is already provided by include/generated/autoconf.h,
so it does not need to be provided on the command line.

Signed-off-by: Samuel Holland <samuel.holland@sifive.com>
Reviewed-by: Jesse Taube <mr.bossman075@gmail.com>
Link: https://lore.kernel.org/r/20241026171441.3047904-2-samuel.holland@sifive.com
Signed-off-by: Palmer Dabbelt <palmer@rivosinc.com>
arch/riscv/Makefile

index 13fbc0f94238797acad3b8991b48b0aa02c84990..600df90bc141e3bfa106f65b6c3072c943d06e80 100644 (file)
@@ -98,7 +98,6 @@ KBUILD_AFLAGS += -march=$(riscv-march-y)
 CC_FLAGS_FPU  := -march=$(shell echo $(riscv-march-y) | sed -E 's/(rv32ima|rv64ima)([^v_]*)v?/\1\2/')
 
 KBUILD_CFLAGS += -mno-save-restore
-KBUILD_CFLAGS += -DCONFIG_PAGE_OFFSET=$(CONFIG_PAGE_OFFSET)
 
 ifeq ($(CONFIG_CMODEL_MEDLOW),y)
        KBUILD_CFLAGS += -mcmodel=medlow