diff options
Diffstat (limited to 'include/linux/mm.h')
-rw-r--r-- | include/linux/mm.h | 7 |
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); | |||
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 */ |