patch-2.3.99-pre6 linux/mm/swap_state.c
Next file: linux/mm/swapfile.c
Previous file: linux/mm/slab.c
Back to the patch index
Back to the overall index
- Lines: 19
- Date:
Tue Apr 25 17:28:56 2000
- Orig file:
v2.3.99-pre5/linux/mm/swap_state.c
- Orig date:
Tue Apr 11 15:09:25 2000
diff -u --recursive --new-file v2.3.99-pre5/linux/mm/swap_state.c linux/mm/swap_state.c
@@ -17,12 +17,17 @@
#include <asm/pgtable.h>
+static struct address_space_operations swap_aops = {
+ sync_page: block_sync_page
+};
+
struct address_space swapper_space = {
{ /* pages */
&swapper_space.pages, /* .next */
&swapper_space.pages /* .prev */
},
- 0 /* nrpages */
+ 0, /* nrpages */
+ &swap_aops,
};
#ifdef SWAP_CACHE_INFO
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)