projects
/
linux-block.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bb58e15
)
riscv: Remove duplicate CONFIG_PAGE_OFFSET definition
author
Samuel Holland
<samuel.holland@sifive.com>
Sat, 26 Oct 2024 17:13:53 +0000
(10:13 -0700)
committer
Palmer 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
patch
|
blob
|
blame
|
history
diff --git
a/arch/riscv/Makefile
b/arch/riscv/Makefile
index 13fbc0f94238797acad3b8991b48b0aa02c84990..600df90bc141e3bfa106f65b6c3072c943d06e80 100644
(file)
--- a/
arch/riscv/Makefile
+++ b/
arch/riscv/Makefile
@@
-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