mips: unhide uasm_in_compat_space_p() declaration
authorArnd Bergmann <arnd@arndb.de>
Mon, 4 Dec 2023 11:56:59 +0000 (12:56 +0100)
committerAndrew Morton <akpm@linux-foundation.org>
Mon, 11 Dec 2023 01:21:40 +0000 (17:21 -0800)
commite9f98feb17207addcd66435d8211ccf9c0a563dd
tree2d0e54f75a67e3c392be395b3820b262fd666aa7
parentad6eb1ec6a590168b0f3add844bdf2b8bd422714
mips: unhide uasm_in_compat_space_p() declaration

uasm_in_compat_space_p() has a conditional declaration but is defined
unconditionally because of another local user, which causes a warning:

arch/mips/mm/uasm.c:421:5: error: no previous prototype for 'uasm_in_compat_space_p' [-Werror=missing-prototypes]

Make the declaration unconditional to avoid this.

Link: https://lkml.kernel.org/r/20231204115710.2247097-10-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/uasm.h