[PATCH 02/17] mm: Remove VM_FAULT_HWPOISON_LARGE_MASK

From
Jan Kara <hidden>
Date
2017-10-24 15:23:59
Also in
linux-ext4, linux-fsdevel, linux-mm, linux-xfs, nvdimm
Reply to
Jan Kara, 2017-10-24
It is unused.

Reviewed-by: Ross Zwisler <redacted>
Reviewed-by: Christoph Hellwig <redacted>
Signed-off-by: Jan Kara <redacted>
---
 include/linux/mm.h | 2 --
 1 file changed, 2 deletions(-)
diff --git a/include/linux/mm.h b/include/linux/mm.h
index 065d99deb847..ca72b67153d5 100644
--- a/include/linux/mm.h
+++ b/include/linux/mm.h
@@ -1182,8 +1182,6 @@ static inline void clear_page_pfmemalloc(struct page *page)
 #define VM_FAULT_FALLBACK 0x0800	/* huge page fault failed, fall back to small */
 #define VM_FAULT_DONE_COW   0x1000	/* ->fault has fully handled COW */
 
-#define VM_FAULT_HWPOISON_LARGE_MASK 0xf000 /* encodes hpage index for large hwpoison */
-
 #define VM_FAULT_ERROR	(VM_FAULT_OOM | VM_FAULT_SIGBUS | VM_FAULT_SIGSEGV | \
 			 VM_FAULT_HWPOISON | VM_FAULT_HWPOISON_LARGE | \
 			 VM_FAULT_FALLBACK)
-- 
2.12.3
Thread (33 messages) 33 messages, 5 authors, last reply 2017-11-01
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help