diff options
author | Alex Waterman <alexw@nvidia.com> | 2017-10-10 14:28:03 -0400 |
---|---|---|
committer | mobile promotions <svcmobile_promotions@nvidia.com> | 2017-10-13 18:20:24 -0400 |
commit | 2ecd18902e29b8a3615f49afe3c51b2526816be7 (patch) | |
tree | 685910de59f9f21542ae9a4c8e32b8a6cba864e1 /drivers/gpu/nvgpu/pmgr/pmgrpmu.h | |
parent | 57fb527a7e33384341fc18f1f918d5a8225057f5 (diff) |
gpu: nvgpu: Use config in makefile for debug_kmem.c
Conditionally compile debug_kmem.c in the Makefile since the entire
file is not needed when CONFIG_NVGPU_TRACK_KMEM_USAGE is not enabled.
Removing as many conditional compilation flags from the C code itself
is highly desirable from a code complexity standard.
Change-Id: If1e87986ca1ee6d71485f1ab40f10c1645c1a628
Signed-off-by: Alex Waterman <alexw@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/1576543
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
Diffstat (limited to 'drivers/gpu/nvgpu/pmgr/pmgrpmu.h')
0 files changed, 0 insertions, 0 deletions