Commit d667edc0 authored by YueHaibing's avatar YueHaibing Committed by Michael Ellerman

powerpc/mm: Make some symbols static that can be

Noticed by sparse.
Signed-off-by: default avatarYueHaibing <yuehaibing@huawei.com>
Signed-off-by: default avatarMichael Ellerman <mpe@ellerman.id.au>
parent cd6c84d8
......@@ -45,7 +45,7 @@
#define HPTE_LOCK_BIT (56+3)
#endif
DEFINE_RAW_SPINLOCK(native_tlbie_lock);
static DEFINE_RAW_SPINLOCK(native_tlbie_lock);
static inline void tlbiel_hash_set_isa206(unsigned int set, unsigned int is)
{
......
......@@ -985,7 +985,7 @@ void __init hash__early_init_devtree(void)
htab_scan_page_sizes();
}
struct hash_mm_context init_hash_mm_context;
static struct hash_mm_context init_hash_mm_context;
void __init hash__early_init_mmu(void)
{
#ifndef CONFIG_PPC_64K_PAGES
......
......@@ -323,7 +323,7 @@ static int __meminit create_physical_mapping(unsigned long start,
return 0;
}
void __init radix_init_pgtable(void)
static void __init radix_init_pgtable(void)
{
unsigned long rts_field;
struct memblock_region *reg;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment