mips-fix-setup_zero_pages-prototype.patch removed from -mm tree
The quilt patch titled
Subject: mips: fix setup_zero_pages() prototype
has been removed from the -mm tree. Its filename was
mips-fix-setup_zero_pages-prototype.patch
This patch was dropped because it was merged into the mm-nonmm-stable branch of git://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm
------------------------------------------------------
From: Arnd Bergmann <[email protected]>
Subject: mips: fix setup_zero_pages() prototype
Date: Mon, 4 Dec 2023 12:57:00 +0100
setup_zero_pages() has a local declaration in a platform specific header, but that is not seen in the file it is defined in:
arch/mips/mm/init.c:60:6: error: no previous prototype for 'setup_zero_pages' [-Werror=missing-prototypes]
Move it to the corresponding global header and include that where needed.
---
arch/mips/include/asm/mach-loongson64/mmzone.h | 1 - arch/mips/include/asm/mmzone.h | 2 ++ arch/mips/mm/init.c | 1 + 3 files changed, 3 insertions(+), 1 deletion(-)
arch/mips/include/asm/mach-loongson64/mmzone.h renamed from arch/mips/include/asm/mach-loongson64/mmzone.h~mips-fix-setup_zero_pages-prototype +0 -1
@@ -18,7 +18,6 @@ extern struct pglist_data *__node_data[]#define NODE_DATA (n) (__node_data[n]) -extern void setup_zero_pages (void );extern void __init prom_init_numa_memory (void );#endif /* _ASM_MACH_MMZONE_H */
arch/mips/include/asm/mmzone.h renamed from arch/mips/include/asm/mmzone.h~mips-fix-setup_zero_pages-prototype +2 -0
@@ -20,4 +20,6 @@#define nid_to_addrbase (nid) 0#endif +extern void setup_zero_pages (void ); +#endif /* _ASM_MMZONE_H_ */
arch/mips/mm/init.c renamed from arch/mips/mm/init.c~mips-fix-setup_zero_pages-prototype +1 -0
@@ -38,6 +38,7 @@#include <asm/dma.h> #include <asm/maar.h> #include <asm/mmu_context.h> +#include <asm/mmzone.h> #include <asm/sections.h> #include <asm/pgalloc.h> #include <asm/tlb.h>
_
Patches currently in -mm which might be from [email protected] are
kexec-fix-kexec_file-dependencies.patch kexec-fix-kexec_file-dependencies-fix.patch kexec-select-crypto-from-kexec_file-instead-of-depending-on-it.patch makefileextrawarn-turn-on-missing-prototypes-globally.patch