diff options
Diffstat (limited to 'mm')
-rw-r--r-- | mm/page_alloc.c | 4 | ||||
-rw-r--r-- | mm/shmem.c | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/mm/page_alloc.c b/mm/page_alloc.c index 34bba8f1144e..14d7032c1d12 100644 --- a/mm/page_alloc.c +++ b/mm/page_alloc.c | |||
@@ -47,8 +47,8 @@ EXPORT_SYMBOL(node_online_map); | |||
47 | nodemask_t node_possible_map __read_mostly = NODE_MASK_ALL; | 47 | nodemask_t node_possible_map __read_mostly = NODE_MASK_ALL; |
48 | EXPORT_SYMBOL(node_possible_map); | 48 | EXPORT_SYMBOL(node_possible_map); |
49 | struct pglist_data *pgdat_list __read_mostly; | 49 | struct pglist_data *pgdat_list __read_mostly; |
50 | unsigned long totalram_pages; | 50 | unsigned long totalram_pages __read_mostly; |
51 | unsigned long totalhigh_pages; | 51 | unsigned long totalhigh_pages __read_mostly; |
52 | long nr_swap_pages; | 52 | long nr_swap_pages; |
53 | 53 | ||
54 | /* | 54 | /* |
diff --git a/mm/shmem.c b/mm/shmem.c index bdc4bbb6ddbb..db2c9e8d9909 100644 --- a/mm/shmem.c +++ b/mm/shmem.c | |||
@@ -180,7 +180,7 @@ static struct inode_operations shmem_inode_operations; | |||
180 | static struct inode_operations shmem_dir_inode_operations; | 180 | static struct inode_operations shmem_dir_inode_operations; |
181 | static struct vm_operations_struct shmem_vm_ops; | 181 | static struct vm_operations_struct shmem_vm_ops; |
182 | 182 | ||
183 | static struct backing_dev_info shmem_backing_dev_info = { | 183 | static struct backing_dev_info shmem_backing_dev_info __read_mostly = { |
184 | .ra_pages = 0, /* No readahead */ | 184 | .ra_pages = 0, /* No readahead */ |
185 | .capabilities = BDI_CAP_NO_ACCT_DIRTY | BDI_CAP_NO_WRITEBACK, | 185 | .capabilities = BDI_CAP_NO_ACCT_DIRTY | BDI_CAP_NO_WRITEBACK, |
186 | .unplug_io_fn = default_unplug_io_fn, | 186 | .unplug_io_fn = default_unplug_io_fn, |