summaryrefslogtreecommitdiff
path: root/arch/mips/kernel
diff options
context:
space:
mode:
authorArnd Bergmann <arnd@arndb.de>2023-12-04 12:57:08 +0100
committerAndrew Morton <akpm@linux-foundation.org>2023-12-10 17:21:42 -0800
commitb4fc7a3c37c3cd053f3ccf0553d7837e9d3e810b (patch)
tree439c0c04820cdd53e99c586460ad932d204b5e1c /arch/mips/kernel
parenta3075dcb1757e641321290ea62197d2f8b185c45 (diff)
mips: hide conditionally unused functions
A couple of functions are defined unconditionally but have a conditional declaration: arch/mips/mm/tlb-r4k.c:461:12: error: no previous prototype for 'add_temporary_entry' [-Werror=missing-prototypes] arch/mips/mm/pgtable-64.c:92:7: error: no previous prototype for 'mk_pmd' [-Werror=missing-prototypes] arch/mips/mm/pgtable-64.c:101:6: error: no previous prototype for 'set_pmd_at' [-Werror=missing-prototypes] Since there are no callers in these configurations, add the same #ifdef checks around the definitions. Link: https://lkml.kernel.org/r/20231204115710.2247097-19-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>
Diffstat (limited to 'arch/mips/kernel')
0 files changed, 0 insertions, 0 deletions