File tree Expand file tree Collapse file tree 1 file changed +4
-5
lines changed Expand file tree Collapse file tree 1 file changed +4
-5
lines changed Original file line number Diff line number Diff line change @@ -3586,6 +3586,10 @@ extern void shake_page(struct page *p);
3586
3586
extern atomic_long_t num_poisoned_pages __read_mostly ;
3587
3587
extern int soft_offline_page (unsigned long pfn , int flags );
3588
3588
#ifdef CONFIG_MEMORY_FAILURE
3589
+ /*
3590
+ * Sysfs entries for memory failure handling statistics.
3591
+ */
3592
+ extern const struct attribute_group memory_failure_attr_group ;
3589
3593
extern void memory_failure_queue (unsigned long pfn , int flags );
3590
3594
extern int __get_huge_page_for_hwpoison (unsigned long pfn , int flags ,
3591
3595
bool * migratable_cleared );
@@ -3678,11 +3682,6 @@ enum mf_action_page_type {
3678
3682
MF_MSG_UNKNOWN ,
3679
3683
};
3680
3684
3681
- /*
3682
- * Sysfs entries for memory failure handling statistics.
3683
- */
3684
- extern const struct attribute_group memory_failure_attr_group ;
3685
-
3686
3685
#if defined(CONFIG_TRANSPARENT_HUGEPAGE ) || defined(CONFIG_HUGETLBFS )
3687
3686
extern void clear_huge_page (struct page * page ,
3688
3687
unsigned long addr_hint ,
You can’t perform that action at this time.
0 commit comments