Files
linux/arch/powerpc/kernel
Cédric Le Goater bb21e1b6c5 powerpc/optprobes: Make patch_imm64_load_insns() static
patch_imm64_load_insns() is only used locally in
arch_prepare_optimized_kprobe() and does not need to be external.

It fixes this W=1 compile error :

../arch/powerpc/kernel/optprobes.c:149:6: error: no previous prototype for ‘patch_imm64_load_insns’ [-Werror=missing-prototypes]
  149 | void patch_imm64_load_insns(unsigned int val, kprobe_opcode_t *addr)

Signed-off-by: Cédric Le Goater <clg@kaod.org>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/20210104143206.695198-12-clg@kaod.org
2021-01-30 11:39:29 +11:00
..
2020-12-09 23:48:14 +11:00
2020-12-09 23:48:14 +11:00
2020-12-04 01:01:09 +11:00
2021-01-30 11:39:29 +11:00
2020-10-08 21:17:12 +11:00
2020-07-27 00:01:30 +10:00
2020-12-05 21:49:52 +11:00
2020-12-05 21:49:52 +11:00
2020-11-18 14:18:09 -06:00
2020-12-04 01:01:19 +11:00