aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/mm.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux/mm.h')
-rw-r--r--include/linux/mm.h7
1 files changed, 7 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);
1309extern int account_locked_memory(struct mm_struct *mm, struct rlimit *rlim, 1309extern int account_locked_memory(struct mm_struct *mm, struct rlimit *rlim,
1310 size_t size); 1310 size_t size);
1311extern void refund_locked_memory(struct mm_struct *mm, size_t size); 1311extern void refund_locked_memory(struct mm_struct *mm, size_t size);
1312
1313extern void memory_failure(unsigned long pfn, int trapno);
1314extern int __memory_failure(unsigned long pfn, int trapno, int ref);
1315extern int sysctl_memory_failure_early_kill;
1316extern int sysctl_memory_failure_recovery;
1317extern atomic_long_t mce_bad_pages;
1318
1312#endif /* __KERNEL__ */ 1319#endif /* __KERNEL__ */
1313#endif /* _LINUX_MM_H */ 1320#endif /* _LINUX_MM_H */