summaryrefslogtreecommitdiff
path: root/asm
diff options
context:
space:
mode:
authorSinclair Yeh <syeh@vmware.com>2017-05-24 07:44:28 -0700
committerSinclair Yeh <syeh@vmware.com>2017-06-01 07:43:43 -0700
commit8b023e772c8855aea0cddecaab3589fd4e4389da (patch)
tree2fbedd42ddd4822e0837ef2beb2f16fb6b5acab6 /asm
parentcc654edddbf3b43faac7126c422dfc671a000d9d (diff)
vmwgfx: Make vmwgfx build on 4.12
__copy_from_user_nocache() has been removed, and so replace it with copy_from_user(). This matches what we are doing in-tree. Selectively ported Commit ed3ba0794663 ("drm: use set_memory.h header") because set_memory_* functions have moved to set_memory.h v2: Created an empty asm/set_memory.h for kernels that do not have this header rather than sprinkling Linux version checks in TTM Signed-off-by: Sinclair Yeh <syeh@vmware.com> Reviewed-by: Thomas Hellstrom <thellstrom@vmware.com>
Diffstat (limited to 'asm')
-rw-r--r--asm/set_memory.h0
1 files changed, 0 insertions, 0 deletions
diff --git a/asm/set_memory.h b/asm/set_memory.h
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/asm/set_memory.h