summaryrefslogtreecommitdiffstats
path: root/mm/swap_state.c
diff options
context:
space:
mode:
authorRalf Baechle <ralf@linux-mips.org>2000-04-28 01:09:25 +0000
committerRalf Baechle <ralf@linux-mips.org>2000-04-28 01:09:25 +0000
commitb9ba7aeb165cffecdffb60aec8c3fa8d590d9ca9 (patch)
tree42d07b0c7246ae2536a702e7c5de9e2732341116 /mm/swap_state.c
parent7406b0a326f2d70ade2671c37d1beef62249db97 (diff)
Merge with 2.3.99-pre6.
Diffstat (limited to 'mm/swap_state.c')
-rw-r--r--mm/swap_state.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/mm/swap_state.c b/mm/swap_state.c
index defe9b463..29ba0d78b 100644
--- a/mm/swap_state.c
+++ b/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