aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c
diff options
context:
space:
mode:
authorJuergen Gross <[email protected]>2015-09-04 12:50:33 +0000
committerDavid Vrabel <[email protected]>2015-09-28 13:48:52 +0000
commit24f775a6605a8ffc697c0767fc7ea85656ddb958 (patch)
tree405762fa77d7b70171aaeb732f9f6cb808c6f3dd /drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c
parentLinux 4.3-rc3 (diff)
downloadkernel-24f775a6605a8ffc697c0767fc7ea85656ddb958.tar.gz
kernel-24f775a6605a8ffc697c0767fc7ea85656ddb958.zip
xen: use correct type for HYPERVISOR_memory_op()
HYPERVISOR_memory_op() is defined to return an "int" value. This is wrong, as the Xen hypervisor will return "long". The sub-function XENMEM_maximum_reservation returns the maximum number of pages for the current domain. An int will overflow for a domain configured with 8TB of memory or more. Correct this by using the correct type. Signed-off-by: Juergen Gross <[email protected]> Signed-off-by: David Vrabel <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c')
0 files changed, 0 insertions, 0 deletions