summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTerje Bergstrom <tbergstrom@nvidia.com>2014-10-23 07:26:58 -0400
committerDan Willemsen <dwillemsen@nvidia.com>2015-03-18 15:11:50 -0400
commitfcf4a107996af1be341952447b0237338c0b76ea (patch)
tree3781532f9ecfa753b1dfe68cac93b34e78f3db73
parent4c12bbce3950077c81e5a04629a686af145aa5af (diff)
gpu: nvgpu: VM size should be u64
VM size should not depend on CPU architecture. It should be always u64. Change-Id: I81539807f6674877fd04f0079b2bec05b2a0640d Signed-off-by: Terje Bergstrom <tbergstrom@nvidia.com> Reviewed-on: http://git-master/r/562466
-rw-r--r--drivers/gpu/nvgpu/gk20a/mm_gk20a.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/nvgpu/gk20a/mm_gk20a.c b/drivers/gpu/nvgpu/gk20a/mm_gk20a.c
index e7fdb336..9a8e11af 100644
--- a/drivers/gpu/nvgpu/gk20a/mm_gk20a.c
+++ b/drivers/gpu/nvgpu/gk20a/mm_gk20a.c
@@ -2172,7 +2172,7 @@ static int gk20a_init_vm(struct mm_gk20a *mm,
2172 int err, i; 2172 int err, i;
2173 u32 num_pages, low_hole_pages; 2173 u32 num_pages, low_hole_pages;
2174 char alloc_name[32]; 2174 char alloc_name[32];
2175 size_t vma_size; 2175 u64 vma_size;
2176 2176
2177 /* note: keep the page sizes sorted lowest to highest here */ 2177 /* note: keep the page sizes sorted lowest to highest here */
2178 u32 gmmu_page_sizes[gmmu_nr_page_sizes] = { SZ_4K, big_page_size }; 2178 u32 gmmu_page_sizes[gmmu_nr_page_sizes] = { SZ_4K, big_page_size };