提交 d667edc0 编写于 作者: Y YueHaibing 提交者: Michael Ellerman

powerpc/mm: Make some symbols static that can be

Noticed by sparse.
Signed-off-by: NYueHaibing <yuehaibing@huawei.com>
Signed-off-by: NMichael Ellerman <mpe@ellerman.id.au>
上级 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% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册