Commit e62d1b67 authored by Andrew Morton's avatar Andrew Morton Committed by Linus Torvalds

[PATCH] make total_swap_pages a long

Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
parent a5b5323b
......@@ -206,7 +206,7 @@ extern struct page * read_swap_cache_async(swp_entry_t, struct vm_area_struct *v
unsigned long addr);
/* linux/mm/swapfile.c */
extern int total_swap_pages;
extern long total_swap_pages;
extern unsigned int nr_swapfiles;
extern struct swap_info_struct swap_info[];
extern void si_swapinfo(struct sysinfo *);
......
......@@ -32,7 +32,7 @@
spinlock_t swaplock = SPIN_LOCK_UNLOCKED;
unsigned int nr_swapfiles;
int total_swap_pages;
long total_swap_pages;
static int swap_overflow;
EXPORT_SYMBOL(total_swap_pages);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment