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 /arch/s390/mm/pageattr.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 'arch/s390/mm/pageattr.c')
-rw-r--r-- | arch/s390/mm/pageattr.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/s390/mm/pageattr.c b/arch/s390/mm/pageattr.c index 5ba3bd8a7b12..ca5a418c58a8 100644 --- a/arch/s390/mm/pageattr.c +++ b/arch/s390/mm/pageattr.c @@ -4,6 +4,7 @@ * Author(s): Jan Glauber <[email protected]> */ #include <linux/hugetlb.h> +#include <linux/proc_fs.h> #include <linux/vmalloc.h> #include <linux/mm.h> #include <asm/cacheflush.h> |