|
@@ -85,7 +85,7 @@ PLIST_HEAD(swap_active_head);
|
|
* is held and the locking order requires swap_lock to be taken
|
|
* is held and the locking order requires swap_lock to be taken
|
|
* before any swap_info_struct->lock.
|
|
* before any swap_info_struct->lock.
|
|
*/
|
|
*/
|
|
-struct plist_head *swap_avail_heads;
|
|
|
|
|
|
+static struct plist_head *swap_avail_heads;
|
|
static DEFINE_SPINLOCK(swap_avail_lock);
|
|
static DEFINE_SPINLOCK(swap_avail_lock);
|
|
|
|
|
|
struct swap_info_struct *swap_info[MAX_SWAPFILES];
|
|
struct swap_info_struct *swap_info[MAX_SWAPFILES];
|