diff options
author | Adrian Bunk <bunk@kernel.org> | 2008-04-28 02:12:11 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2008-04-28 08:58:18 -0700 |
commit | 9d02dbc8137759e4c2f91db0b7f9c8a1ec2a9276 (patch) | |
tree | f08ac5f852d81afb593f80e7bbd0a0a7cff3fb2f | |
parent | 3c18ddd160d1fcd46d1131d9ad6c594dd8e9af99 (diff) | |
download | op-kernel-dev-9d02dbc8137759e4c2f91db0b7f9c8a1ec2a9276.zip op-kernel-dev-9d02dbc8137759e4c2f91db0b7f9c8a1ec2a9276.tar.gz |
make swap_pte_to_pagemap_entry() static
Make the needlessly global swap_pte_to_pagemap_entry() static.
Signed-off-by: Adrian Bunk <bunk@kernel.org>
Acked-by: Matt Mackall <mpm@selenic.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
-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 9dfb5ff..f4ab76c 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, 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); |