patch-2.2.14 linux/include/linux/swap.h
Next file: linux/include/linux/sysctl.h
Previous file: linux/include/linux/sunrpc/xprt.h
Back to the patch index
Back to the overall index
-  Lines: 20
-  Date:
Tue Jan  4 10:12:25 2000
-  Orig file: 
v2.2.13/linux/include/linux/swap.h
-  Orig date: 
Tue May 11 10:35:43 1999
diff -u --recursive --new-file v2.2.13/linux/include/linux/swap.h linux/include/linux/swap.h
@@ -68,7 +68,7 @@
 extern atomic_t nr_async_pages;
 extern struct inode swapper_inode;
 extern unsigned long page_cache_size;
-extern int buffermem;
+extern long buffermem;
 
 /* Incomplete types for prototype declarations: */
 struct task_struct;
@@ -91,8 +91,8 @@
 extern void swap_after_unlock_page (unsigned long entry);
 
 /* linux/mm/page_alloc.c */
-extern void swap_in(struct task_struct *, struct vm_area_struct *,
-		    pte_t *, unsigned long, int);
+extern int swap_in(struct task_struct *, struct vm_area_struct *,
+		   pte_t *, unsigned long, int);
 
 
 /* linux/mm/swap_state.c */
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)