mips: rename mt_init to mips_mt_init
authorLiam R. Howlett <Liam.Howlett@Oracle.com>
Sat, 30 Jul 2022 01:07:13 +0000 (18:07 -0700)
committerakpm <akpm@linux-foundation.org>
Sat, 30 Jul 2022 01:07:13 +0000 (18:07 -0700)
Move mt_init out of the way for the maple tree.  Use mips_mt prefix to
match the rest of the functions in the file.

Link: https://lkml.kernel.org/r/20220504002554.654642-2-Liam.Howlett@oracle.com
Signed-off-by: Liam R. Howlett <Liam.Howlett@oracle.com>
Cc: Catalin Marinas <catalin.marinas@arm.com>
Cc: David Howells <dhowells@redhat.com>
Cc: "Matthew Wilcox (Oracle)" <willy@infradead.org>
Cc: SeongJae Park <sj@kernel.org>
Cc: Vlastimil Babka <vbabka@suse.cz>
Cc: Will Deacon <will@kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
arch/mips/kernel/mips-mt.c

index d5f7362..dc023a9 100644 (file)
@@ -230,7 +230,7 @@ void mips_mt_set_cpuoptions(void)
 
 struct class *mt_class;
 
-static int __init mt_init(void)
+static int __init mips_mt_init(void)
 {
        struct class *mtc;
 
@@ -243,4 +243,4 @@ static int __init mt_init(void)
        return 0;
 }
 
-subsys_initcall(mt_init);
+subsys_initcall(mips_mt_init);