Skip to content

Commit bffada8

Browse files
SiFiveHollandpalmer-dabbelt
authored andcommitted
riscv: Remove duplicate CONFIG_PAGE_OFFSET definition
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>
1 parent bb58e15 commit bffada8

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

arch/riscv/Makefile

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,6 @@ KBUILD_AFLAGS += -march=$(riscv-march-y)
9898
CC_FLAGS_FPU := -march=$(shell echo $(riscv-march-y) | sed -E 's/(rv32ima|rv64ima)([^v_]*)v?/\1\2/')
9999

100100
KBUILD_CFLAGS += -mno-save-restore
101-
KBUILD_CFLAGS += -DCONFIG_PAGE_OFFSET=$(CONFIG_PAGE_OFFSET)
102101

103102
ifeq ($(CONFIG_CMODEL_MEDLOW),y)
104103
KBUILD_CFLAGS += -mcmodel=medlow

0 commit comments

Comments
 (0)