powerpc/mm: Make some symbols static that can be

Noticed by sparse.

Signed-off-by: YueHaibing <yuehaibing@huawei.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
This commit is contained in:
YueHaibing
2019-05-04 18:24:27 +08:00
committed by Michael Ellerman
parent cd6c84d8f0
commit d667edc01b
3 changed files with 3 additions and 3 deletions

View File

@@ -45,7 +45,7 @@
#define HPTE_LOCK_BIT (56+3) #define HPTE_LOCK_BIT (56+3)
#endif #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) static inline void tlbiel_hash_set_isa206(unsigned int set, unsigned int is)
{ {

View File

@@ -985,7 +985,7 @@ void __init hash__early_init_devtree(void)
htab_scan_page_sizes(); 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) void __init hash__early_init_mmu(void)
{ {
#ifndef CONFIG_PPC_64K_PAGES #ifndef CONFIG_PPC_64K_PAGES

View File

@@ -323,7 +323,7 @@ static int __meminit create_physical_mapping(unsigned long start,
return 0; return 0;
} }
void __init radix_init_pgtable(void) static void __init radix_init_pgtable(void)
{ {
unsigned long rts_field; unsigned long rts_field;
struct memblock_region *reg; struct memblock_region *reg;