diff options
Diffstat (limited to 'include/linux')
-rw-r--r-- | include/linux/cramfs_fs_sb.h | 4 | ||||
-rw-r--r-- | include/linux/mm.h | 1 |
2 files changed, 5 insertions, 0 deletions
diff --git a/include/linux/cramfs_fs_sb.h b/include/linux/cramfs_fs_sb.h index 8390693568fd..e3ff06de7f9d 100644 --- a/include/linux/cramfs_fs_sb.h +++ b/include/linux/cramfs_fs_sb.h @@ -10,6 +10,10 @@ struct cramfs_sb_info { unsigned long blocks; unsigned long files; unsigned long flags; +#ifdef CONFIG_CRAMFS_LINEAR + unsigned long linear_phys_addr; + char * linear_virt_addr; +#endif /* CONFIG_CRAMFS_LINEAR */ }; static inline struct cramfs_sb_info *CRAMFS_SB(struct super_block *sb) diff --git a/include/linux/mm.h b/include/linux/mm.h index 1c1207472bb4..4f2b42c92664 100644 --- a/include/linux/mm.h +++ b/include/linux/mm.h @@ -164,6 +164,7 @@ extern unsigned int kobjsize(const void *objp); #define VM_DONTEXPAND 0x00040000 /* Cannot expand with mremap() */ #define VM_RESERVED 0x00080000 /* Count as reserved_vm like IO */ #define VM_ACCOUNT 0x00100000 /* Is a VM accounted object */ +#define VM_XIP 0x00200000 /* Execute In Place from ROM/flash */ #define VM_HUGETLB 0x00400000 /* Huge TLB Page VM */ #define VM_NONLINEAR 0x00800000 /* Is non-linear (remap_file_pages) */ #define VM_MAPPED_COPY 0x01000000 /* T if mapped copy of data (nommu mmap) */ |