Files
linux/arch/mips/include/asm
Nathan Chancellor f3cac4f8a9 MIPS: Add prototypes for plat_post_relocation() and relocate_kernel()
When building malta_defconfig with CONFIG_RELOCATABLE=y, there are two
warnings due to missing prototypes for functions only used when that
configuration is enabled:

  arch/mips/kernel/relocate.c:42:12: warning: no previous prototype for 'plat_post_relocation' [-Wmissing-prototypes]
     42 | int __weak plat_post_relocation(long offset)
        |            ^~~~~~~~~~~~~~~~~~~~
  arch/mips/kernel/relocate.c:324:14: warning: no previous prototype for 'relocate_kernel' [-Wmissing-prototypes]
    324 | void *__init relocate_kernel(void)
        |              ^~~~~~~~~~~~~~~

While relocate_kernel() is only called from assembly, it makes sense to
keep the prototypes together in C to fix the warnings. Add them to
silence the warnings.

Signed-off-by: Nathan Chancellor <nathan@kernel.org>
Signed-off-by: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
2024-04-15 10:22:45 +02:00
..
2023-06-09 17:44:13 -07:00
2022-03-01 10:07:22 +01:00
2022-03-01 10:07:22 +01:00
2022-03-01 10:07:22 +01:00
2022-03-01 10:07:22 +01:00
2020-09-07 22:25:27 +02:00
2020-09-07 22:25:27 +02:00
2024-01-08 10:39:12 +01:00
2024-01-08 10:39:12 +01:00
2021-01-22 11:40:00 +01:00
2020-09-07 22:25:27 +02:00
2020-09-07 22:25:27 +02:00
2024-01-08 10:39:12 +01:00
2024-01-08 10:39:12 +01:00
2024-01-08 10:39:12 +01:00
2024-01-08 10:39:12 +01:00
2022-03-01 10:07:22 +01:00
2024-01-08 10:39:12 +01:00
2024-02-20 13:36:34 +01:00
2020-11-11 23:49:22 +01:00
2021-10-24 17:24:47 +02:00
2022-07-14 11:52:29 +02:00
2022-07-14 11:52:29 +02:00
2024-01-08 10:39:12 +01:00
2023-12-21 15:31:25 +01:00
2021-07-13 15:08:15 -05:00
2022-02-22 09:35:49 +01:00
2021-09-23 11:23:35 +02:00
2021-10-24 17:24:47 +02:00
2021-01-04 11:37:27 +01:00
2022-03-01 10:07:22 +01:00
2023-08-15 10:22:23 +02:00
2020-05-19 17:39:32 +02:00
2024-03-07 17:18:50 +01:00
2024-01-08 10:39:12 +01:00
2021-11-29 12:43:06 +01:00
2019-02-04 10:56:41 -08:00
2020-05-22 09:10:53 +02:00
2021-09-23 11:23:35 +02:00
2024-01-08 10:39:12 +01:00
2024-01-08 10:39:12 +01:00
2024-01-05 10:17:44 -08:00
2023-12-10 17:21:41 -08:00
2022-03-14 15:09:27 +01:00
2023-04-12 15:01:09 +02:00
2023-12-10 17:21:41 -08:00
2022-03-01 10:07:22 +01:00
2024-01-08 10:39:12 +01:00
2023-02-19 09:28:30 +01:00
2023-12-10 17:21:38 -08:00
2024-01-08 10:39:12 +01:00
2024-01-08 10:39:12 +01:00
2019-04-03 10:32:54 +02:00
2022-03-01 10:07:22 +01:00
2022-03-01 10:07:22 +01:00
2022-02-25 09:36:05 +01:00
2022-07-14 11:52:29 +02:00
2023-04-12 15:01:09 +02:00