diff options
author | Huang Ying <ying.huang@intel.com> | 2011-01-29 22:15:49 -0500 |
---|---|---|
committer | Marcelo Tosatti <mtosatti@redhat.com> | 2011-03-17 12:08:27 -0400 |
commit | f58c9df78c0360f0eb3852b9cc3a61e689bc2dd1 (patch) | |
tree | 378a97ad8e857d73ae6762312c7bcb1cf5efd4bc /include | |
parent | fafc3dbaac6447ab8f78d2f7f32a521b24fc6b36 (diff) |
mm: remove is_hwpoison_address
Unused.
Signed-off-by: Huang Ying <ying.huang@intel.com>
Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/mm.h | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/include/linux/mm.h b/include/linux/mm.h index a77c82c56e05..78219887308e 100644 --- a/include/linux/mm.h +++ b/include/linux/mm.h | |||
@@ -1625,14 +1625,6 @@ extern int sysctl_memory_failure_recovery; | |||
1625 | extern void shake_page(struct page *p, int access); | 1625 | extern void shake_page(struct page *p, int access); |
1626 | extern atomic_long_t mce_bad_pages; | 1626 | extern atomic_long_t mce_bad_pages; |
1627 | extern int soft_offline_page(struct page *page, int flags); | 1627 | extern int soft_offline_page(struct page *page, int flags); |
1628 | #ifdef CONFIG_MEMORY_FAILURE | ||
1629 | int is_hwpoison_address(unsigned long addr); | ||
1630 | #else | ||
1631 | static inline int is_hwpoison_address(unsigned long addr) | ||
1632 | { | ||
1633 | return 0; | ||
1634 | } | ||
1635 | #endif | ||
1636 | 1628 | ||
1637 | extern void dump_page(struct page *page); | 1629 | extern void dump_page(struct page *page); |
1638 | 1630 | ||