patch-2.1.13 linux/include/linux/swap.h

Next file: linux/include/linux/swapctl.h
Previous file: linux/include/linux/stddef.h
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.1.12/linux/include/linux/swap.h linux/include/linux/swap.h
@@ -22,10 +22,10 @@
 	struct inode * swap_file;
 	unsigned char * swap_map;
 	unsigned char * swap_lockmap;
-	int lowest_bit;
-	int highest_bit;
-	int cluster_next;
-	int cluster_nr;
+	unsigned int lowest_bit;
+	unsigned int highest_bit;
+	unsigned int cluster_next;
+	unsigned int cluster_nr;
 	int prio;			/* swap priority */
 	int pages;
 	unsigned long max;
@@ -70,7 +70,7 @@
 extern void swap_duplicate(unsigned long);
 
 /* linux/mm/swapfile.c */
-extern int nr_swapfiles;
+extern unsigned int nr_swapfiles;
 extern struct swap_info_struct swap_info[];
 void si_swapinfo(struct sysinfo *);
 unsigned long get_swap_page(void);

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov