diff options
| author | Dan Williams <[email protected]> | 2016-01-16 00:56:37 +0000 |
|---|---|---|
| committer | Linus Torvalds <[email protected]> | 2016-01-16 01:56:32 +0000 |
| commit | 69660fd797c3e52f7f20478a27687f293d1a41be (patch) | |
| tree | 10dd8c4c32b756c4bf694f463fddaa226f0c466d /drivers/gpu/drm/omapdrm/omap_gem.c | |
| parent | frv: fix compiler warning from definition of __pmd() (diff) | |
| download | kernel-69660fd797c3e52f7f20478a27687f293d1a41be.tar.gz kernel-69660fd797c3e52f7f20478a27687f293d1a41be.zip | |
x86, mm: introduce _PAGE_DEVMAP
_PAGE_DEVMAP is a hardware-unused pte bit that will later be used in the
get_user_pages() path to identify pfns backed by the dynamic allocation
established by devm_memremap_pages. Upon seeing that bit the gup path
will lookup and pin the allocation while the pages are in use.
Since the _PAGE_DEVMAP bit is > 32 it must be cast to u64 instead of a
pteval_t to allow pmd_flags() usage in the realmode boot code to build.
Signed-off-by: Dan Williams <[email protected]>
Cc: Thomas Gleixner <[email protected]>
Cc: Ingo Molnar <[email protected]>
Cc: "H. Peter Anvin" <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/omapdrm/omap_gem.c')
0 files changed, 0 insertions, 0 deletions
