aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/linux/fs.h1
-rw-r--r--include/linux/mm.h2
-rw-r--r--include/linux/mm_types.h7
-rw-r--r--include/linux/mmzone.h1
4 files changed, 11 insertions, 0 deletions
diff --git a/include/linux/fs.h b/include/linux/fs.h
index 1ea979d984c2..9bddbf91dcbf 100644
--- a/include/linux/fs.h
+++ b/include/linux/fs.h
@@ -489,6 +489,7 @@ struct block_device {
489#define PAGECACHE_TAG_DIRTY 0 489#define PAGECACHE_TAG_DIRTY 0
490#define PAGECACHE_TAG_WRITEBACK 1 490#define PAGECACHE_TAG_WRITEBACK 1
491#define PAGECACHE_TAG_TOWRITE 2 491#define PAGECACHE_TAG_TOWRITE 2
492#define PAGECACHE_TAG_REPLICATED 3
492 493
493int mapping_tagged(struct address_space *mapping, int tag); 494int mapping_tagged(struct address_space *mapping, int tag);
494 495
diff --git a/include/linux/mm.h b/include/linux/mm.h
index 0755b9fd03a7..55df1f8bf4cb 100644
--- a/include/linux/mm.h
+++ b/include/linux/mm.h
@@ -2200,5 +2200,7 @@ void __init setup_nr_node_ids(void);
2200static inline void setup_nr_node_ids(void) {} 2200static inline void setup_nr_node_ids(void) {}
2201#endif 2201#endif
2202 2202
2203extern void replication_init(void);
2204
2203#endif /* __KERNEL__ */ 2205#endif /* __KERNEL__ */
2204#endif /* _LINUX_MM_H */ 2206#endif /* _LINUX_MM_H */
diff --git a/include/linux/mm_types.h b/include/linux/mm_types.h
index 8d37e26a1007..76603d077455 100644
--- a/include/linux/mm_types.h
+++ b/include/linux/mm_types.h
@@ -14,6 +14,7 @@
14#include <linux/page-flags-layout.h> 14#include <linux/page-flags-layout.h>
15#include <asm/page.h> 15#include <asm/page.h>
16#include <asm/mmu.h> 16#include <asm/mmu.h>
17#include <linux/radix-tree.h>
17 18
18#ifndef AT_VECTOR_SIZE_ARCH 19#ifndef AT_VECTOR_SIZE_ARCH
19#define AT_VECTOR_SIZE_ARCH 0 20#define AT_VECTOR_SIZE_ARCH 0
@@ -545,4 +546,10 @@ typedef struct {
545 unsigned long val; 546 unsigned long val;
546} swp_entry_t; 547} swp_entry_t;
547 548
549struct pcache_desc {
550 struct page *master;
551 cpumask_t cpus_present;
552 struct radix_tree_root page_tree;
553};
554
548#endif /* _LINUX_MM_TYPES_H */ 555#endif /* _LINUX_MM_TYPES_H */
diff --git a/include/linux/mmzone.h b/include/linux/mmzone.h
index 54d74f6eb233..d3762dec9dea 100644
--- a/include/linux/mmzone.h
+++ b/include/linux/mmzone.h
@@ -128,6 +128,7 @@ enum zone_stat_item {
128 NR_FILE_PAGES, 128 NR_FILE_PAGES,
129 NR_FILE_DIRTY, 129 NR_FILE_DIRTY,
130 NR_WRITEBACK, 130 NR_WRITEBACK,
131 NR_REPL_PAGES,
131 NR_SLAB_RECLAIMABLE, 132 NR_SLAB_RECLAIMABLE,
132 NR_SLAB_UNRECLAIMABLE, 133 NR_SLAB_UNRECLAIMABLE,
133 NR_PAGETABLE, /* used for pagetables */ 134 NR_PAGETABLE, /* used for pagetables */