]> err.no Git - linux-2.6/commit
mm/swapfile.c: make code static
authorAdrian Bunk <bunk@kernel.org>
Sat, 26 Jul 2008 02:46:24 +0000 (19:46 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Sat, 26 Jul 2008 19:00:12 +0000 (12:00 -0700)
commit7c363b8c6536f26934172d3c46f0bbec01a97c61
tree46a9ce1b0ef9285ab2c7b04f0cf584294853a16f
parent15f59adae001766a2c7f7fe4f196387bb04bcff5
mm/swapfile.c: make code static

This patch makes the following needlessly global code static:
 - swap_lock
 - nr_swapfiles
 - struct swap_list

Signed-off-by: Adrian Bunk <bunk@kernel.org>
Reviewed-by: KOSAKI Motohiro <kosaki.motohiro@jp.fujitsu.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
include/linux/swap.h
mm/swapfile.c