linux/arch
Nathan Chancellor bba07109f5 hexagon: mm: include asm/setup.h for setup_arch_memory()'s prototype
Clang warns:

  arch/hexagon/mm/init.c:138:13: warning: no previous prototype for function 'setup_arch_memory' [-Wmissing-prototypes]
    138 | void __init setup_arch_memory(void)
        |             ^
  arch/hexagon/mm/init.c:138:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
    138 | void __init setup_arch_memory(void)
        | ^
        | static

The prototype is in asm/setup.h, include it to clear up the warning.

Link: https://lkml.kernel.org/r/20231130-hexagon-missing-prototypes-v1-3-5c34714afe9e@kernel.org
Signed-off-by: Nathan Chancellor <nathan@kernel.org>
Cc: Arnd Bergmann <arnd@arndb.de>
Cc: Brian Cain <bcain@quicinc.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
2023-12-10 17:21:34 -08:00
..
alpha arch: turn off -Werror for architectures with known warnings 2023-12-10 17:21:33 -08:00
arc kprobes: unify kprobes_exceptions_nofify() prototypes 2023-11-10 19:59:05 +09:00
arm Merge branch 'master' into mm-hotfixes-stable 2023-12-06 17:03:50 -08:00
arm64 arm64: Avoid enabling KPTI unnecessarily 2023-11-30 19:07:33 +00:00
csky Kbuild updates for v6.7 2023-11-04 08:07:19 -10:00
hexagon hexagon: mm: include asm/setup.h for setup_arch_memory()'s prototype 2023-12-10 17:21:34 -08:00
loongarch LoongArch: Implement constant timer shutdown interface 2023-11-21 15:03:25 +08:00
m68k Many singleton patches against the MM code. The patch series which are 2023-11-02 19:38:47 -10:00
microblaze asm-generic updates for v6.7 2023-11-01 15:28:33 -10:00
mips arch: turn off -Werror for architectures with known warnings 2023-12-10 17:21:33 -08:00
nios2 vgacon, arch/*: remove unused screen_info definitions 2023-10-17 10:17:02 +02:00
openrisc
parisc parisc: Reduce size of the bug_table on 64-bit kernel by half 2023-11-25 09:43:18 +01:00
powerpc arch: remove ARCH_TASK_STRUCT_ON_STACK 2023-12-10 17:21:31 -08:00
riscv RISC-V Patches for the 6.7 Merge Window, Part 2 2023-11-10 09:23:17 -08:00
s390 s390: remove odd comment 2023-11-22 13:55:13 +01:00
sh kprobes: unify kprobes_exceptions_nofify() prototypes 2023-11-10 19:59:05 +09:00
sparc arch: turn off -Werror for architectures with known warnings 2023-12-10 17:21:33 -08:00
um um,ethertap: Replace deprecated strncpy() with strscpy() 2023-09-29 11:37:50 -07:00
x86 xen: branch for v6.7-rc4 2023-12-03 08:31:53 +09:00
xtensa TTY/Serial changes for 6.7-rc1 2023-11-03 15:44:25 -10:00
.gitignore
Kconfig arch: remove ARCH_TASK_STRUCT_ON_STACK 2023-12-10 17:21:31 -08:00