diff options
author | Arnd Bergmann <[email protected]> | 2023-05-16 21:57:29 +0200 |
---|---|---|
committer | Christian Brauner <[email protected]> | 2023-05-17 09:24:49 +0200 |
commit | ef104443bffa004f631729dfc924f0b84abbd602 (patch) | |
tree | 16882eae50d998a53ce28063c947ba8fa1aa2337 /tools/testing/selftests/bpf/prog_tests/prog_array_init.c | |
parent | 247c8d2f9837a3e29e3b6b7a4aa9c36c37659dd4 (diff) |
procfs: consolidate arch_report_meminfo declaration
The arch_report_meminfo() function is provided by four architectures,
with a __weak fallback in procfs itself. On architectures that don't
have a custom version, the __weak version causes a warning because
of the missing prototype.
Remove the architecture specific prototypes and instead add one
in linux/proc_fs.h.
Signed-off-by: Arnd Bergmann <[email protected]>
Acked-by: Dave Hansen <[email protected]> # for arch/x86
Acked-by: Helge Deller <[email protected]> # parisc
Reviewed-by: Alexander Gordeev <[email protected]>
Message-Id: <[email protected]>
Signed-off-by: Christian Brauner <[email protected]>
Diffstat (limited to 'tools/testing/selftests/bpf/prog_tests/prog_array_init.c')
0 files changed, 0 insertions, 0 deletions