make swap_pte_to_pagemap_entry() static
[firefly-linux-kernel-4.4.55.git] / fs / proc / task_mmu.c
index 9dfb5ff24209be91f2a3bd87048ab130c46ae2dd..f4ab76c7c662cd563787f5f731cfc426171a6511 100644 (file)
@@ -579,7 +579,7 @@ static int pagemap_pte_hole(unsigned long start, unsigned long end,
        return err;
 }
 
-u64 swap_pte_to_pagemap_entry(pte_t pte)
+static u64 swap_pte_to_pagemap_entry(pte_t pte)
 {
        swp_entry_t e = pte_to_swp_entry(pte);
        return swp_type(e) | (swp_offset(e) << MAX_SWAPFILES_SHIFT);