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
This commit is contained in:
Terje Bergstrom
2014-10-23 14:26:58 +03:00
committed by Dan Willemsen
parent 4c12bbce39
commit fcf4a10799

View File

@@ -2172,7 +2172,7 @@ static int gk20a_init_vm(struct mm_gk20a *mm,
int err, i; int err, i;
u32 num_pages, low_hole_pages; u32 num_pages, low_hole_pages;
char alloc_name[32]; char alloc_name[32];
size_t vma_size; u64 vma_size;
/* note: keep the page sizes sorted lowest to highest here */ /* note: keep the page sizes sorted lowest to highest here */
u32 gmmu_page_sizes[gmmu_nr_page_sizes] = { SZ_4K, big_page_size }; u32 gmmu_page_sizes[gmmu_nr_page_sizes] = { SZ_4K, big_page_size };