Files
linux-nvgpu/drivers
Alex Waterman 886016190c gpu: nvgpu: Fix timers failure address
In the timers code a macro was using __builtin_return_address(0)
when it should have been using _THIS_IP_.

__builtin_return_address(0) will cause the timers code to print
the return address of the function that calls the timers code. This
isn't actually useful, of course. A user actually cares about where
the timers code call comes from which is easily obtained with
_THIS_IP_.

Bug 1799159

Change-Id: Iac16bc79e89e4cd18133db3d20f5a50d4d5e8f31
Signed-off-by: Alex Waterman <alexw@nvidia.com>
Reviewed-on: http://git-master/r/1320839
Reviewed-by: Terje Bergstrom <tbergstrom@nvidia.com>
2017-03-16 11:03:59 -07:00
..