Skip to content

Commit

Permalink
mips: rename mt_init to mips_mt_init
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
howlett authored and akpm00 committed Jul 30, 2022
1 parent 14773bf commit 15d2ce7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions arch/mips/kernel/mips-mt.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand All @@ -243,4 +243,4 @@ static int __init mt_init(void)
return 0;
}

subsys_initcall(mt_init);
subsys_initcall(mips_mt_init);

0 comments on commit 15d2ce7

Please sign in to comment.