[PATCH 1/6] riscv: Remove duplicate CONFIG_PAGE_OFFSET definition

Jesse T mr.bossman075 at gmail.com
Sun Oct 27 13:09:14 PDT 2024


On Sat, Oct 26, 2024 at 1:16 PM Samuel Holland
<samuel.holland at sifive.com> wrote:
>
> 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 at sifive.com>
Reviewed-by: Jesse Taube <mr.bossman075 at gmail.com>

> ---
>
>  arch/riscv/Makefile | 1 -
>  1 file changed, 1 deletion(-)
>
> diff --git a/arch/riscv/Makefile b/arch/riscv/Makefile
> index d469db9f46f4..6ff2cbde5296 100644
> --- a/arch/riscv/Makefile
> +++ b/arch/riscv/Makefile
> @@ -92,7 +92,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
> --
> 2.45.1
>
>
> _______________________________________________
> linux-riscv mailing list
> linux-riscv at lists.infradead.org
> http://lists.infradead.org/mailman/listinfo/linux-riscv



More information about the linux-riscv mailing list