mirror of
git://nv-tegra.nvidia.com/linux-nvgpu.git
synced 2025-12-24 02:22:34 +03:00
Linux's mm.h defines at least PAGE_ALIGN which nvgpu uses and provides via utils.h. It's defined internally in posix/utils.h, but in Linux the OS version is relied upon. However, the macro definition has spilled in via the trace events that includes linux/ktime.h. If nvgpu/trace.h isn't included, we wouldn't get that. Jira NVGPU-4548 Change-Id: I9c27cc9db15231714d38d7c623957c8f5fe52789 Signed-off-by: Konsta Hölttä <kholtta@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/c/linux-nvgpu/+/2321362 (cherry picked from commit 84762ce74847a3b0983901b6cf3f5d3110abd6cc) Reviewed-on: https://git-master.nvidia.com/r/c/linux-nvgpu/+/2324246 GVS: Gerrit_Virtual_Submit Tested-by: mobile promotions <svcmobile_promotions@nvidia.com> Reviewed-by: Deepak Nibade <dnibade@nvidia.com> Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com> Reviewed-by: automaticguardword <automaticguardword@nvidia.com> Reviewed-by: Automatic_Commit_Validation_User