mips: move jump_label_apply_nops() declaration to header
authorArnd Bergmann <arnd@arndb.de>
Mon, 4 Dec 2023 11:56:58 +0000 (12:56 +0100)
committerAndrew Morton <akpm@linux-foundation.org>
Mon, 11 Dec 2023 01:21:40 +0000 (17:21 -0800)
commitad6eb1ec6a590168b0f3add844bdf2b8bd422714
tree29685c1e3144efc9d5a6796b7852acf73d9a1c3c
parent6fb04df9b9b49891eebbdab6728f92091540e166
mips: move jump_label_apply_nops() declaration to header

Instead of an extern declaration in the C file with the caller, move it to
an appropriate header, avoiding

arch/mips/kernel/jump_label.c:93:6: error: no previous prototype for 'jump_label_apply_nops' [-Werror=missing-prototypes]

Link: https://lkml.kernel.org/r/20231204115710.2247097-9-arnd@kernel.org
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Cc: Stephen Rothwell <sfr@rothwell.id.au>
Cc: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
arch/mips/include/asm/jump_label.h
arch/mips/kernel/module.c