diff options
Diffstat (limited to 'include/linux')
-rw-r--r-- | include/linux/mm.h | 7 | ||||
-rw-r--r-- | include/linux/rmap.h | 1 |
2 files changed, 8 insertions, 0 deletions
diff --git a/include/linux/mm.h b/include/linux/mm.h index a16018f7d61c..1ffca03f34b7 100644 --- a/include/linux/mm.h +++ b/include/linux/mm.h | |||
@@ -1309,5 +1309,12 @@ void vmemmap_populate_print_last(void); | |||
1309 | extern int account_locked_memory(struct mm_struct *mm, struct rlimit *rlim, | 1309 | extern int account_locked_memory(struct mm_struct *mm, struct rlimit *rlim, |
1310 | size_t size); | 1310 | size_t size); |
1311 | extern void refund_locked_memory(struct mm_struct *mm, size_t size); | 1311 | extern void refund_locked_memory(struct mm_struct *mm, size_t size); |
1312 | |||
1313 | extern void memory_failure(unsigned long pfn, int trapno); | ||
1314 | extern int __memory_failure(unsigned long pfn, int trapno, int ref); | ||
1315 | extern int sysctl_memory_failure_early_kill; | ||
1316 | extern int sysctl_memory_failure_recovery; | ||
1317 | extern atomic_long_t mce_bad_pages; | ||
1318 | |||
1312 | #endif /* __KERNEL__ */ | 1319 | #endif /* __KERNEL__ */ |
1313 | #endif /* _LINUX_MM_H */ | 1320 | #endif /* _LINUX_MM_H */ |
diff --git a/include/linux/rmap.h b/include/linux/rmap.h index ce989f1fc2ed..3c1004e50747 100644 --- a/include/linux/rmap.h +++ b/include/linux/rmap.h | |||
@@ -129,6 +129,7 @@ int try_to_munlock(struct page *); | |||
129 | */ | 129 | */ |
130 | struct anon_vma *page_lock_anon_vma(struct page *page); | 130 | struct anon_vma *page_lock_anon_vma(struct page *page); |
131 | void page_unlock_anon_vma(struct anon_vma *anon_vma); | 131 | void page_unlock_anon_vma(struct anon_vma *anon_vma); |
132 | int page_mapped_in_vma(struct page *page, struct vm_area_struct *vma); | ||
132 | 133 | ||
133 | #else /* !CONFIG_MMU */ | 134 | #else /* !CONFIG_MMU */ |
134 | 135 | ||