Files
linux-nv-oot/drivers/video/tegra
Ketan Patil a530fa20f8 video: tegra: nvmap: Define nth_page
In Linux v6.18, commit 84efbefa26df ("mm: remove nth_page()") removes
the nth_page macro and this breaks the build for NVMAP. Define the
nth_page macro if it is not defined in the kernel to fix the build.

Bug 5566555
Bug 5215421

Change-Id: Iaa6bcd2204e4c1ab59516bb7353a71f3ec6e19c4
Signed-off-by: Jon Hunter <jonathanh@nvidia.com>
Signed-off-by: Ketan Patil <ketanp@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/linux-nv-oot/+/3449760
(cherry picked from commit c0db792d335d8525821d3aac16e64506e84bf4c2)
Reviewed-on: https://git-master.nvidia.com/r/c/linux-nv-oot/+/3475136
GVS: buildbot_gerritrpt <buildbot_gerritrpt@nvidia.com>
Reviewed-by: Brad Griffis <bgriffis@nvidia.com>
2025-10-23 07:12:06 -07:00
..
2025-08-04 04:27:14 -07:00