We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8547649 commit 409c8fbCopy full SHA for 409c8fb
arch/riscv/Makefile
@@ -11,7 +11,11 @@ LDFLAGS_vmlinux :=
11
ifeq ($(CONFIG_DYNAMIC_FTRACE),y)
12
LDFLAGS_vmlinux := --no-relax
13
KBUILD_CPPFLAGS += -DCC_USING_PATCHABLE_FUNCTION_ENTRY
14
+ifeq ($(CONFIG_RISCV_ISA_C),y)
15
CC_FLAGS_FTRACE := -fpatchable-function-entry=8
16
+else
17
+ CC_FLAGS_FTRACE := -fpatchable-function-entry=4
18
+endif
19
endif
20
21
ifeq ($(CONFIG_CMODEL_MEDLOW),y)
0 commit comments