linux-kernelorg-stable/arch
Youling Tang 819cf65575 LoongArch: ftrace: Fix build error if DYNAMIC_FTRACE_WITH_REGS is not set
We can see the following build error if CONFIG_DYNAMIC_FTRACE_WITH_REGS
is not set on LoongArch:

arch/loongarch/kernel/ftrace_dyn.c: In function ‘ftrace_make_call’:
arch/loongarch/kernel/ftrace_dyn.c:167:23: error: implicit declaration of function ‘__get_mod’
  167 |                 ret = __get_mod(&mod, pc);
      |                       ^~~~~~~~~
arch/loongarch/kernel/ftrace_dyn.c:171:24: error: implicit declaration of function ‘get_plt_addr’
  171 |                 addr = get_plt_addr(mod, addr);
      |                        ^~~~~~~~~~~~

The reason is that the __get_mod() and get_plt_addr() may be called in
ftrace_make_{call,nop}.

Signed-off-by: Youling Tang <tangyouling@loongson.cn>
Signed-off-by: Huacai Chen <chenhuacai@loongson.cn>
2023-05-01 17:19:52 +08:00
..
alpha
arc
arm Lower sd card speeds for two boards to make them run more reliable, 2023-04-14 13:51:43 +02:00
arm64 Two serious ARM fixes: 2023-04-22 09:27:46 -07:00
csky
hexagon
ia64
loongarch LoongArch: ftrace: Fix build error if DYNAMIC_FTRACE_WITH_REGS is not set 2023-05-01 17:19:52 +08:00
m68k
microblaze
mips MIPS: Define RUNTIME_DISCARD_EXIT in LD script 2023-04-21 23:59:43 +02:00
nios2
openrisc
parisc
powerpc powerpc fixes for 6.3 #5 2023-04-16 09:55:18 -07:00
riscv ARM: SoC fixes for 6.3, part 3 2023-04-18 08:21:45 -07:00
s390 s390/bpf: Fix bpf_arch_text_poke() with new_addr == NULL 2023-04-14 18:28:52 +02:00
sh
sparc
um
x86 x86/alternatives: Do not use integer constant suffixes in inline asm 2023-04-18 11:57:18 +02:00
xtensa
.gitignore
Kconfig