summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJan Kara <jack@suse.cz>2017-11-01 16:36:31 +0100
committerDan Williams <dan.j.williams@intel.com>2017-11-03 06:26:22 -0700
commitd81b8a722f691a3907eb4a6df410ab517ba5bfcc (patch)
treef9cd91d55343da9fa7faa01a89ea9e6309f30961
parent1c9725974074a047f6080eecc62c50a8e840d050 (diff)
downloadlinux-stable-d81b8a722f691a3907eb4a6df410ab517ba5bfcc.tar.gz
linux-stable-d81b8a722f691a3907eb4a6df410ab517ba5bfcc.tar.bz2
linux-stable-d81b8a722f691a3907eb4a6df410ab517ba5bfcc.zip
mm: Remove VM_FAULT_HWPOISON_LARGE_MASK
It is unused. Reviewed-by: Ross Zwisler <ross.zwisler@linux.intel.com> Reviewed-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Jan Kara <jack@suse.cz> Signed-off-by: Dan Williams <dan.j.williams@intel.com>
-rw-r--r--include/linux/mm.h2
1 files changed, 0 insertions, 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)