mm: remove is_hwpoison_address
Unused. Signed-off-by: Huang Ying <ying.huang@intel.com> Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>
This commit is contained in:
		
					parent
					
						
							
								fafc3dbaac
							
						
					
				
			
			
				commit
				
					
						f58c9df78c
					
				
			
		
					 2 changed files with 0 additions and 40 deletions
				
			
		| 
						 | 
				
			
			@ -1625,14 +1625,6 @@ extern int sysctl_memory_failure_recovery;
 | 
			
		|||
extern void shake_page(struct page *p, int access);
 | 
			
		||||
extern atomic_long_t mce_bad_pages;
 | 
			
		||||
extern int soft_offline_page(struct page *page, int flags);
 | 
			
		||||
#ifdef CONFIG_MEMORY_FAILURE
 | 
			
		||||
int is_hwpoison_address(unsigned long addr);
 | 
			
		||||
#else
 | 
			
		||||
static inline int is_hwpoison_address(unsigned long addr)
 | 
			
		||||
{
 | 
			
		||||
	return 0;
 | 
			
		||||
}
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
extern void dump_page(struct page *page);
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue