diff options
-rw-r--r-- | fs/proc/task_mmu.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/proc/task_mmu.c b/fs/proc/task_mmu.c index 9dfb5ff24209..f4ab76c7c662 100644 --- a/fs/proc/task_mmu.c +++ b/fs/proc/task_mmu.c | |||
@@ -579,7 +579,7 @@ static int pagemap_pte_hole(unsigned long start, unsigned long end, | |||
579 | return err; | 579 | return err; |
580 | } | 580 | } |
581 | 581 | ||
582 | u64 swap_pte_to_pagemap_entry(pte_t pte) | 582 | static u64 swap_pte_to_pagemap_entry(pte_t pte) |
583 | { | 583 | { |
584 | swp_entry_t e = pte_to_swp_entry(pte); | 584 | swp_entry_t e = pte_to_swp_entry(pte); |
585 | return swp_type(e) | (swp_offset(e) << MAX_SWAPFILES_SHIFT); | 585 | return swp_type(e) | (swp_offset(e) << MAX_SWAPFILES_SHIFT); |