diff options
| author | Jeff Garzik <jeff@garzik.org> | 2006-04-26 06:18:00 -0400 |
|---|---|---|
| committer | Jeff Garzik <jeff@garzik.org> | 2006-04-26 06:18:00 -0400 |
| commit | 45de6fd958d7f407bdb5fdc6914b3262519d891c (patch) | |
| tree | c1b9f9023e93d0f28f773ca4be41d107f79cd600 /mm/shmem.c | |
| parent | 1f5d5dbf0372dd933d8325054889ba09d996e50b (diff) | |
| parent | 3b908870b8332dfd40be0e919e187aa4991536fb (diff) | |
Merge branch 'upstream-fixes' into upstream
Diffstat (limited to 'mm/shmem.c')
| -rw-r--r-- | mm/shmem.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/mm/shmem.c b/mm/shmem.c index 37eaf42ed2c6..4c5e68e4e9ae 100644 --- a/mm/shmem.c +++ b/mm/shmem.c | |||
| @@ -46,6 +46,8 @@ | |||
| 46 | #include <linux/mempolicy.h> | 46 | #include <linux/mempolicy.h> |
| 47 | #include <linux/namei.h> | 47 | #include <linux/namei.h> |
| 48 | #include <linux/ctype.h> | 48 | #include <linux/ctype.h> |
| 49 | #include <linux/migrate.h> | ||
| 50 | |||
| 49 | #include <asm/uaccess.h> | 51 | #include <asm/uaccess.h> |
| 50 | #include <asm/div64.h> | 52 | #include <asm/div64.h> |
| 51 | #include <asm/pgtable.h> | 53 | #include <asm/pgtable.h> |
| @@ -2173,6 +2175,7 @@ static struct address_space_operations shmem_aops = { | |||
| 2173 | .prepare_write = shmem_prepare_write, | 2175 | .prepare_write = shmem_prepare_write, |
| 2174 | .commit_write = simple_commit_write, | 2176 | .commit_write = simple_commit_write, |
| 2175 | #endif | 2177 | #endif |
| 2178 | .migratepage = migrate_page, | ||
| 2176 | }; | 2179 | }; |
| 2177 | 2180 | ||
| 2178 | static struct file_operations shmem_file_operations = { | 2181 | static struct file_operations shmem_file_operations = { |
