diff options
author | Yang Shi <yang.shi@linux.alibaba.com> | 2018-10-26 15:08:57 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2018-10-26 16:26:35 -0700 |
commit | cc4b8c794f476076c9ce19f43eb4d98dc4b5e155 (patch) | |
tree | b763fc754ac1b54ab155f18b2ac5dacc1b97bb30 | |
parent | 9bc8039e715da3b53dbac89525323a9f2f69b7b5 (diff) | |
download | linux-stable-cc4b8c794f476076c9ce19f43eb4d98dc4b5e155.tar.gz linux-stable-cc4b8c794f476076c9ce19f43eb4d98dc4b5e155.tar.bz2 linux-stable-cc4b8c794f476076c9ce19f43eb4d98dc4b5e155.zip |
mm: dax: add comment for PFN_SPECIAL
The comment for PFN_SPECIAL is missed in pfn_t.h. Add comment to get
consistent with other pfn flags.
Link: http://lkml.kernel.org/r/1538086549-100536-1-git-send-email-yang.shi@linux.alibaba.com
Signed-off-by: Yang Shi <yang.shi@linux.alibaba.com>
Suggested-by: Dan Williams <dan.j.williams@intel.com>
Reviewed-by: Dan Williams <dan.j.williams@intel.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
-rw-r--r-- | include/linux/pfn_t.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/pfn_t.h b/include/linux/pfn_t.h index 673546ba7342..7bb77850c65a 100644 --- a/include/linux/pfn_t.h +++ b/include/linux/pfn_t.h @@ -9,6 +9,8 @@ * PFN_SG_LAST - pfn references a page and is the last scatterlist entry * PFN_DEV - pfn is not covered by system memmap by default * PFN_MAP - pfn has a dynamic page mapping established by a device driver + * PFN_SPECIAL - for CONFIG_FS_DAX_LIMITED builds to allow XIP, but not + * get_user_pages */ #define PFN_FLAGS_MASK (((u64) (~PAGE_MASK)) << (BITS_PER_LONG_LONG - PAGE_SHIFT)) #define PFN_SG_CHAIN (1ULL << (BITS_PER_LONG_LONG - 1)) |