summaryrefslogtreecommitdiffstats
path: root/userspace/src/exec.c
diff options
context:
space:
mode:
authorNicolin Chen <nicolinc@nvidia.com>2018-08-30 17:34:52 -0400
committermobile promotions <svcmobile_promotions@nvidia.com>2018-09-04 19:16:55 -0400
commitbd47d00ce736a421a3b4376ad996fdc877ccf0ca (patch)
treeda3e014b79a8beac25dec722ed36cdcd0c32c140 /userspace/src/exec.c
parent471be337187477e57f8ab08d04d22f19700c3ade (diff)
gpu: nvgpu: Add a macro of totalram_size_in_mb
There are two (would be more) places calculating the ram size in MB from page numbers, so this patch just simply adds a macro for simplification. Bug 2327574 Bug 2284925 Change-Id: Ie5dc387d547e1b8ce98946f0637dc17a6897e5a6 Signed-off-by: Nicolin Chen <nicolinc@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/1810333 Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com> Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
Diffstat (limited to 'userspace/src/exec.c')
0 files changed, 0 insertions, 0 deletions