aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_object.c
diff options
context:
space:
mode:
authorToshi Kani <[email protected]>2016-04-13 00:10:52 +0000
committerRoss Zwisler <[email protected]>2016-04-14 15:01:47 +0000
commitcba2e47abcbd80e3f46f460899290402f98090ec (patch)
tree023dc101fde300f6fddb72eae60a5017b643a4c9 /drivers/gpu/drm/amd/amdgpu/amdgpu_object.c
parentLinux 4.6-rc3 (diff)
downloadkernel-cba2e47abcbd80e3f46f460899290402f98090ec.tar.gz
kernel-cba2e47abcbd80e3f46f460899290402f98090ec.zip
pmem: fix BUG() error in pmem.h:48 on X86_32
After 'commit fc0c2028135c ("x86, pmem: use memcpy_mcsafe() for memcpy_from_pmem()")', probing a PMEM device hits the BUG() error below on X86_32 kernel. kernel BUG at include/linux/pmem.h:48! memcpy_from_pmem() calls arch_memcpy_from_pmem(), which is unimplemented since CONFIG_ARCH_HAS_PMEM_API is undefined on X86_32. Fix the BUG() error by adding default_memcpy_from_pmem(). Acked-by: Dan Williams <[email protected]> Signed-off-by: Toshi Kani <[email protected]> Signed-off-by: Ross Zwisler <[email protected]> Cc: Dan Williams <[email protected]> Cc: Ross Zwisler <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_object.c')
0 files changed, 0 insertions, 0 deletions