mips-move-cache-declarations-into-header.patch removed from -mm tree
The quilt patch titled
Subject: mips: move cache declarations into header
has been removed from the -mm tree. Its filename was
mips-move-cache-declarations-into-header.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: move cache declarations into header
Date: Mon, 4 Dec 2023 12:57:02 +0100
Some of the cache functions are declared only for their callers, e.g.
arch/mips/mm/c-r3k.c:28:15: error: no previous prototype for 'r3k_cache_size' [-Werror=missing-prototypes] arch/mips/mm/c-r3k.c:63:15: error: no previous prototype for 'r3k_cache_lsize' [-Werror=missing-prototypes] arch/mips/mm/c-r4k.c:1703:6: error: no previous prototype for 'r4k_cache_init' [-Werror=missing-prototypes] arch/mips/mm/sc-mips.c:255:5: error: no previous prototype for 'mips_sc_init' [-Werror=missing-prototypes]
Move all the declarations to asm/cache.h and asm/r4kcache.h where they can be seen by the function definitions.
---
arch/mips/include/asm/cache.h | 6 ++++++ arch/mips/include/asm/r4kcache.h | 4 ++++ arch/mips/kernel/cpu-probe.c | 1 - arch/mips/kernel/cpu-r3k-probe.c | 1 - arch/mips/mm/c-r4k.c | 4 ---- arch/mips/mm/cache.c | 6 ------ 6 files changed, 10 insertions(+), 12 deletions(-)
arch/mips/include/asm/cache.h renamed from arch/mips/include/asm/cache.h~mips-move-cache-declarations-into-header +6 -0
@@ -17,5 +17,11 @@#define __read_mostly __section(".data..read_mostly")extern void cache_noop (void ); +extern void r3k_cache_init (void ); +extern unsigned long r3k_cache_size (unsigned long ); +extern unsigned long r3k_cache_lsize (unsigned long ); +extern void r4k_cache_init (void ); +extern void octeon_cache_init (void ); +extern void au1x00_fixup_config_od (void );#endif /* _ASM_CACHE_H */
arch/mips/include/asm/r4kcache.h renamed from arch/mips/include/asm/r4kcache.h~mips-move-cache-declarations-into-header +4 -0
@@ -24,6 +24,10 @@#include <asm/mmzone.h> #include <asm/unroll.h> +extern void r5k_sc_init (void ); +extern void rm7k_sc_init (void ); +extern int mips_sc_init (void ); +extern void (*r4k_blast_dcache)(void );extern void (*r4k_blast_icache)(void );
arch/mips/kernel/cpu-probe.c renamed from arch/mips/kernel/cpu-probe.c~mips-move-cache-declarations-into-header +0 -1
@@ -179,7 +179,6 @@ void __init check_bugs32(void)static inline int cpu_has_confreg (void ) {#ifdef CONFIG_CPU_R3000 -extern unsigned long r3k_cache_size (unsigned long );unsigned long size1, size2;unsigned long cfg =read_c0_conf ();
arch/mips/kernel/cpu-r3k-probe.c renamed from arch/mips/kernel/cpu-r3k-probe.c~mips-move-cache-declarations-into-header +0 -1
@@ -42,7 +42,6 @@ void __init check_bugs32(void)static inline int cpu_has_confreg (void ) {#ifdef CONFIG_CPU_R3000 -extern unsigned long r3k_cache_size (unsigned long );unsigned long size1, size2;unsigned long cfg =read_c0_conf ();
arch/mips/mm/cache.c renamed from arch/mips/mm/cache.c~mips-move-cache-declarations-into-header +0 -6
@@ -206,19 +206,13 @@ static inline void setup_protection_map(void cpu_cache_init (void ) {if (cpu_has_3k_cache) { -extern void __weak r3k_cache_init (void ); -r3k_cache_init (); }if (cpu_has_4k_cache) { -extern void __weak r4k_cache_init (void ); -r4k_cache_init (); }if (cpu_has_octeon_cache) { -extern void __weak octeon_cache_init (void ); -octeon_cache_init (); }
arch/mips/mm/c-r4k.c renamed from arch/mips/mm/c-r4k.c~mips-move-cache-declarations-into-header +0 -4
@@ -1485,10 +1485,6 @@ static void loongson3_sc_init(void)return ; } -extern int r5k_sc_init (void ); -extern int rm7k_sc_init (void ); -extern int mips_sc_init (void ); -static void setup_scache (void ) {struct cpuinfo_mips *c = ¤t_cpu_data;
_
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